Skip to content

Commit 4e2126e

Browse files
committed
updated team_endpoint generator to use global team guid if no local team guid is supplied
1 parent fa20262 commit 4e2126e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gremlinapi/gremlinapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self):
2929
@classmethod
3030
def _optional_team_endpoint(cls, endpoint, **kwargs):
3131
team_id = cls._warn_if_not_param('teamId', **kwargs)
32-
if not team_id and 'str' in type(config.team_guid):
32+
if not team_id and type(config.team_guid) is str:
3333
team_id = config.team_guid
3434
if team_id:
3535
if '/?' in endpoint and not str(endpoint).endswith('?'):

0 commit comments

Comments
 (0)