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

Appearance settings
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 4 shotgun_api3.py
Original file line number Diff line number Diff 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 Down Expand 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.