Project
synapseclient.entity.Project
¶
Bases: Entity
Represents a project in Synapse.
Projects in Synapse must be uniquely named. Trying to create a project with a name that's already taken, say 'My project', will result in an error
ATTRIBUTE | DESCRIPTION |
---|---|
name |
The name of the project
|
alias |
The project alias for use in friendly project urls.
|
properties |
A map of Synapse properties
|
annotations |
A map of user defined annotations
|
local_state |
Internal use only
|
Using this class
Creating an instance and storing the project
project = Project('Foobarbat project')
project = syn.store(project)
Source code in synapseclient/entity.py
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 |
|