8000 Remove type hints from Roles and Auth namespaces · tableau/server-client-python@8125726 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8125726

Browse files
committed
Remove type hints from Roles and Auth namespaces
1 parent 59ce4e6 commit 8125726

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

tableauserverclient/models/user_item.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,30 @@ class UserItem(object):
2020
tag_name: str = "user"
2121

2222
class Roles:
23-
Interactor: str = "Interactor"
24-
Publisher: str = "Publisher"
25-
ServerAdministrator: str = "ServerAdministrator"
26-
SiteAdministrator: str = "SiteAdministrator"
27-
Unlicensed: str = "Unlicensed"
28-
UnlicensedWithPublish: str = "UnlicensedWithPublish"
29-
Viewer: str = "Viewer"
30-
ViewerWithPublish: str = "ViewerWithPublish"
31-
Guest: str = "Guest"
32-
33-
Creator: str = "Creator"
34-
Explorer: str = "Explorer"
35-
ExplorerCanPublish: str = "ExplorerCanPublish"
36-
ReadOnly: str = "ReadOnly"
37-
SiteAdministratorCreator: str = "SiteAdministratorCreator"
38-
SiteAdministratorExplorer: str = "SiteAdministratorExplorer"
23+
Interactor="Interactor"
24+
Publisher="Publisher"
25+
ServerAdministrator="ServerAdministrator"
26+
SiteAdministrator="SiteAdministrator"
27+
Unlicensed="Unlicensed"
28+
UnlicensedWithPublish="UnlicensedWithPublish"
29+
Viewer="Viewer"
30+
ViewerWithPublish="ViewerWithPublish"
31+
Guest="Guest"
32+
33+
Creator="Creator"
34+
Explorer="Explorer"
35+
ExplorerCanPublish="ExplorerCanPublish"
36+
ReadOnly="ReadOnly"
37+
SiteAdministratorCreator="SiteAdministratorCreator"
38+
SiteAdministratorExplorer="SiteAdministratorExplorer"
3939

4040
# Online only
41-
SupportUser: str = "SupportUser"
41+
SupportUser="SupportUser"
4242

4343
class Auth:
44-
OpenID: str = "OpenID"
45-
SAML: str = "SAML"
46-
ServerDefault: str = "ServerDefault"
44+
OpenID="OpenID"
45+
SAML="SAML"
46+
ServerDefault="ServerDefault"
4747

4848
def __init__(
4949
self, name: Optional[str] = None, site_role: Optional[str] = None, auth_setting: Optional[str] = None

0 commit comments

Comments
 (0)
0