Skip to content

Commit d0b5b50

Browse files
authored
Fix incorrect Shotgun import in Python API example (#355)
- Corrected the import statement for the Shotgun class to use the proper module path 'shotgun_api3.Shotgun'
1 parent b5fc779 commit d0b5b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cookbook/usage_tips.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Then when you're writing scripts, you don't need to worry about remembering whic
8585
import shotgun_api3
8686
import studio_globals
8787

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

0 commit comments

Comments
 (0)