mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
fix(typing): resolve mypy errors in api.routes.controller.groups
This commit is contained in:
3 files changed
+8
-8
No files matched your search
@@ -80,7 +80,7 @@ class UserGroupCreate(UserGroupBase):
|
||||
Properties to create a user group.
|
||||
"""
|
||||
|
||||
name: Optional[str] = Field(..., min_length=3, pattern="[a-zA-Z0-9_-]+$")
|
||||
name: str = Field(..., min_length=3, pattern="[a-zA-Z0-9_-]+$")
|
||||
|
||||
|
||||
class UserGroupUpdate(UserGroupBase):
|
||||
|
||||
Reference in new issue
Block a user