Skip to content

Commit ea3531c

Browse files
author
Matt Sokoloff
committed
testing bugs
1 parent 9a17864 commit ea3531c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

labelbox/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def __init__(self,
7676
'X-User-Agent': f'python-sdk {SDK_VERSION}'
7777
}
7878

79-
#@retry.Retry(predicate=retry.if_exception_type(
80-
# labelbox.exceptions.InternalServerError))
79+
@retry.Retry(predicate=retry.if_exception_type(
80+
labelbox.exceptions.InternalServerError))
8181
def execute(self, query, params=None, timeout=30.0, experimental=False):
8282
""" Sends a request to the server for the execution of the
8383
given query.

labelbox/orm/model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ def validate_cached_relationships(cls):
257257
"""
258258

259259
cached_rels = [r for r in cls.relationships() if r.cache]
260-
print(cached_rels)
261260
# Check if any cached classes have their own cached fields
262261
for rel in cached_rels:
263262
child_name = utils.title_case(rel.name)

0 commit comments

Comments
 (0)