Closed tiems90 closed 3 years ago
@pcattori Is there any reason we should not add EnrichmentProject
to TC
at this time?
There are three (not necessarily mutually exclusive) options we have:
EnrichmentProject
type, but don't add any specific functionality for EnrichmentProject
sEnrichmentProject
type and also add specific functionality for EnrichmentProject
sUnknownProject
type to represent project types for which we do not have specific functionalityI'm not familiar with Enrichment projects and how they differ from the other project types, so it's unclear to me if its compatible with our existing functionality.
If someone understands/can explain Enrichment projects, we'll be better equipped to choose from the above options.
My understanding right now is that Enrichment projects are modules (like GR "projects") have a UI implementation but are behind a feature flag in the UI. They can be interacted with via the versioned APIs GET /v1/projects
, GET /v1/projects/{projectId}
, and GET /v1/projects/{projectId}/inputDatasets
, and can't be created or modified with any existing versioned APIs. As a result, (a) and (b) are the same (there is no specific functionality for Enrichment projects).
I think option (c) is the best choice for now. This will future-proof us against any other added module/project types that might show up in experimental or demo instances, and also indicates that Enrichment projects are not really a supported use case yet. As soon as that last point changes, adding an EnrichmentProject
makes more sense.
Yes, seems like Enrichment is still in Alpha. So we shouldn't try to represent Enrichment project types yet.
Let's go with UnknownProject
.
:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:
v1.1.0
Your semantic-release bot :package::rocket:
🐛 bug report
When running
tc.project.get_all()
on an instance that has anenrichment
type project, throws an error.🤔 Expected Behavior
No error.
😯 Current Behavior
💁 Possible Solution
Add the additional project type.
🌍 Your Environment