We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa20262 commit 4e2126eCopy full SHA for 4e2126e
1 file changed
gremlinapi/gremlinapi.py
@@ -29,7 +29,7 @@ def __init__(self):
29
@classmethod
30
def _optional_team_endpoint(cls, endpoint, **kwargs):
31
team_id = cls._warn_if_not_param('teamId', **kwargs)
32
- if not team_id and 'str' in type(config.team_guid):
+ if not team_id and type(config.team_guid) is str:
33
team_id = config.team_guid
34
if team_id:
35
if '/?' in endpoint and not str(endpoint).endswith('?'):
0 commit comments