# Shotgun Python Console: bug?

**URL:** <https://community.shotgridsoftware.com/t/shotgun-python-console-bug/11940>\
**Category:** Pipeline Integrations\
**Created:** [March 25, 2021, 2:10pm UTC](https://community.shotgridsoftware.com/t/shotgun-python-console-bug/11940 "2021-03-25T14:10:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdubost](https://avatars.discourse-cdn.com/v4/letter/g/f07891/32.png) [@gdubost](https://community.shotgridsoftware.com/u/gdubost)\
**Post date:** [March 25, 2021, 2:10pm UTC](https://community.shotgridsoftware.com/t/shotgun-python-console-bug/11940/1 "2021-03-25T14:10:57Z")

</div>

Hi There  
when starting the Python Desktop Console  
it seems that sg queries are not particular to the current project

code = “E401\_0010\_0010”  
entities = tk.shotgun.find(“Shot”,[[“code”,“is”,code]], )

if that shot exists on another project, it ll be returned as well

since tk is instantiated in the current project (tk.project\_path returns the current project), i was expecting the find query to look into the current project only.

is it a bug ?
