Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
ops_sdk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PublicSource
ops_sdk
Commits
80bbac83
Commit
80bbac83
authored
Nov 12, 2024
by
张醒狮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新websdk/jwt_token.py, setup.py
parent
0038dd6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
setup.py
setup.py
+1
-1
jwt_token.py
websdk/jwt_token.py
+1
-0
No files found.
setup.py
View file @
80bbac83
...
@@ -9,7 +9,7 @@ from distutils.core import setup
...
@@ -9,7 +9,7 @@ from distutils.core import setup
setup
(
setup
(
name
=
'opssdk'
,
name
=
'opssdk'
,
version
=
'0.0.2
0
'
,
version
=
'0.0.2
1
'
,
packages
=
[
'opssdk'
,
'opssdk.logs'
,
'opssdk.operate'
,
'opssdk.install'
,
'opssdk.get_info'
,
'opssdk.utils'
,
'websdk'
],
packages
=
[
'opssdk'
,
'opssdk.logs'
,
'opssdk.operate'
,
'opssdk.install'
,
'opssdk.get_info'
,
'opssdk.utils'
,
'websdk'
],
url
=
'https://github.com/ss1917/ops_sdk/'
,
url
=
'https://github.com/ss1917/ops_sdk/'
,
license
=
''
,
license
=
''
,
...
...
websdk/jwt_token.py
View file @
80bbac83
...
@@ -31,6 +31,7 @@ class AuthToken:
...
@@ -31,6 +31,7 @@ class AuthToken:
'username'
:
kwargs
.
get
(
'username'
,
''
),
'username'
:
kwargs
.
get
(
'username'
,
''
),
'nickname'
:
kwargs
.
get
(
'nickname'
,
''
),
'nickname'
:
kwargs
.
get
(
'nickname'
,
''
),
'email'
:
kwargs
.
get
(
'email'
,
''
),
'email'
:
kwargs
.
get
(
'email'
,
''
),
'tel'
:
kwargs
.
get
(
'tel'
,
''
),
'is_superuser'
:
kwargs
.
get
(
'is_superuser'
,
False
)
'is_superuser'
:
kwargs
.
get
(
'is_superuser'
,
False
)
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment