Skip to content

Commit

Permalink
Fix incorrect Shotgun import in Python API example (#355)
Browse files Browse the repository at this point in the history
- Corrected the import statement for the Shotgun class to use the proper module path 'shotgun_api3.Shotgun'
  • Loading branch information
Sungbin Lee authored Nov 15, 2024
1 parent b5fc779 commit d0b5b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cookbook/usage_tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Then when you're writing scripts, you don't need to worry about remembering whic
import shotgun_api3
import studio_globals

sg = Shotgun('https://my-site.shotgrid.autodesk.com', 'script_name', '0123456789abcdef0123456789abcdef0123456')
sg = shotgun_api3.Shotgun('https://my-site.shotgrid.autodesk.com', 'script_name', '0123456789abcdef0123456789abcdef0123456')
result = sg.find(studio_globals.ENTITY_WIDGET,
filters=[['sg_status_list', 'is', 'ip']],
fields=['code', 'sg_shot'])
Expand Down

0 comments on commit d0b5b50

Please sign in to comment.