__init__(self,
manifest_locator_or_text,
*args,
**kwargs)
(Constructor)
| source code
|
Collection constructor.
:manifest_locator_or_text:
An Arvados collection UUID, portable data hash, raw manifest
text, or (if creating an empty collection) None.
:parent:
the parent Collection, may be None.
:apiconfig:
A dict containing keys for ARVADOS_API_HOST and ARVADOS_API_TOKEN.
Prefer this over supplying your own api_client and keep_client (except in testing).
Will use default config settings if not specified.
:api_client:
The API client object to use for requests. If not specified, create one using `apiconfig`.
:keep_client:
the Keep client to use for requests. If not specified, create one using `apiconfig`.
:num_retries:
the number of retries for API and Keep requests.
:block_manager:
the block manager to use. If not specified, create one.
:replication_desired:
How many copies should Arvados maintain. If None, API server default
configuration applies. If not None, this value will also be used
for determining the number of block copies being written.
- Overrides:
RichCollectionBase.__init__
|