AIP Logic as query in Python code repo

I’m using a published AIP Logic as a query function in Python code repo

client = FoundryClient()
client.ontology.queries.query_function_call()

In the past, when I’ve saved and republished my AIP Logic, the version in the Python code repo would automatically update and be used.

However, I noticed in the past week that this is not happening anymore, and I cannot seem to get my query function to the latest version. Even if I remove it from the list, add it back, the new version seems to be displayed on the import list however it is still using the old version.

Did anything change recently? Is this a new bug?

If you update the version of the query function, regenerate your SDK, upgrade to the new SDK version, and publish a new version of your function, does it still call the old version of your logic query? If so, that sounds like a bug that we should investigate further.