Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions shotgun_api3.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -145,7 +145,7 @@
# ---------------------------------------------------------------------------------------------
class ShotgunError(Exception): pass

class Shotgun:
class Shotgun(object):
# Used to split up requests into batches of records_per_page when doing requests. this helps speed tremendously
# when getting lots of results back. doesn't affect the interface of the api at all (you always get the full set
# of results back as one array) but just how the client class communicates with the server.
Expand DownExpand Up@@ -564,7 +564,7 @@ def schema(self, entity_type):
def entity_types(self):
raise ShotgunError("Deprecated: use schema_entity_read() instead")

class ShotgunCRUD:
class ShotgunCRUD(object):
def __init__(self, options):
self.__sg_url = options['server_url']
self.__auth_args ={'script_name': options['script_name'], 'script_key': options['script_key']}
Expand Down