Extended application profiles only show 'new' part of profile using Python SDK
Hi @romin.benfer,
Application profiles created by extending another profile only show up partially using the Coscine Python SDK, namely, the profile that has been extended is missing while the new fields are shown.
I've created a resource in Coscine to show this.
Run the following:
import coscine
client = coscine.Client(TOKEN)
project = client.project('NikkisSandbox')
resource = project.resource('image-extended')
metadata = resource.metadata_form()
print(metadata)
Which returns:
+---+---------+-----------------+-------+
| C | Type | Property | Value |
+---+---------+-----------------+-------+
| S | [str] | Compression | |
| S | [str] | Resolution Unit | |
| | [float] | X Resolution | |
| | [float] | Y Resolution | |
| | [float] | Image Width | |
| | [float] | Image Length | |
+---+---------+-----------------+-------+
This is missing the fields from the base profile. The full profile is: