Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc95b3c3

Browse files
committed
add a missing import statement
Add the import inside the function rather than at the top of the filebecause otherwise it would introduce a circular dependency.
1 parent7e4e1a3 commitc95b3c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎gitlab/objects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
classjsonEncoder(json.JSONEncoder):
3333
defdefault(self,obj):
34+
fromgitlabimportGitlab
3435
ifisinstance(obj,GitlabObject):
3536
returnobj.__dict__
3637
elifisinstance(obj,Gitlab):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp