Open alexiswl opened 8 months ago
This might be relating to late binding... I will see to it
Also running into issues where PyCharm won't highlight errors when I access attributes that don't exist
i.e
If I try and use project_pipeline_obj.status
I have no error, but on runtime this will result in an error since I should have used project_pipeline_obj.pipeline.status
instead
I check this as well. Yup, I can reproduce.
As discussed, this entails upgrade to Python generator which will break backward compatibility, probably.
I have created milestone 3.0 as forward planning upgrade.
Given a function such as the one below
I can call this function to retrieve a project data object.
PyCharm IDE then gives me the following attributes as expected if I was to write
my_project_data_obj.
However, despite the attribute data being of type
Data
- see https://umccr-illumina.github.io/libica/openapi/v2/docs/ProjectData/ or screenshot belowWhen I try and perform an action on the attribute, I don't get any helpful suggests, even though libica should know it's of type Data.