Collection
Usage
- Searches by name if the node doesn't exist it creates it otherwise updates it
- Idempotent operation
from cript import *
col1=Collection(name="col1")
proj = Project(
name="Change Project Name",
collection=[col1]
)
print(proj)
Fields
| Attribute | Type | Required |
|---|---|---|
| name | string | t |
| experiment | List[Experiment] | o |
| inventory | List[Inventory] | o |
| citation | List[Citation] | o |
| doi | str | o |
| notes | str | o |