NanopubConf
Represents the configuration for nanopubs.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
profile
|
Optional[Profile]
|
Profile of the user publishing the nanopub |
None
|
use_test_server
|
bool
|
A boolean to automatically use the test server |
False
|
use_server
|
str
|
The URL of the server that will be used to publish the nanopub |
NANOPUB_REGISTRY_URLS[0]
|
add_prov_generated_time
|
bool
|
add generated time to provenance |
False
|
add_pubinfo_generated_time
|
bool
|
add generated time to pubinfo |
False
|
attribute_assertion_to_profile
|
bool
|
bool |
False
|
attribute_publication_to_profile
|
bool
|
bool |
False
|
assertion_attributed_to
|
Optional[str]
|
Optional str |
None
|
publication_attributed_to
|
Optional[str]
|
Optional str |
None
|
derived_from
|
Optional[str]
|
Optional str |
None
|