YuChen Posted February 14, 2022 Report Share Posted February 14, 2022 Hi, I noticed that we have Structure & ResourceIdentifierTransformer class defined inside two modules and their methods' name are a bit different: import ftrack_api.structure.Structure.base.Structure import ftrack_api.resource_identifier_transformer.base.ResourceIdentifierTransformer from ftrack import Structure from ftrack import ResourceIdentifierTransformer Some examples use first one to implement their custom structures & id transformers and others use another. Just wonder are they responsible for different scenarios ? Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted April 7, 2022 Report Share Posted April 7, 2022 Hi @YuChen ftrack_api refers to the latest ftrack python api, where ftrack refers to the legaci api which are deprecated by now (were supporting python2 only) hence finding the same classes (namely) on both. please use only : import ftrack_api.structure.Structure.base.Structure import ftrack_api.resource_identifier_transformer.base.ResourceIdentifierTransformer if you have any code still using: import ftrack worth looking into updating it to new api as you are likely to start finding issues , like SSL connections and such. hope it helps. L. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now