Project#
- class geodesic.account.projects.Project(**project)[source]#
The Project class to manage groups of nodes in a subgraph in entanglement.
- Parameters:
**project – metadata about a particular project
Attributes
alias(str) - a human readable name for this project/subgraph
description(str) - a description of this project/subgraph
keywordsKeywords related to this project.
name(str) - the name of this project, unique to the user
owner(str) - the subject (user id) of this owner of this project
uid(str) - unique ID set by the system
Methods
clear()copy()create([ignore_if_exists])Creates new project for this object.
delete()Deletes this project.
fromkeys([value])Create a new dictionary with keys from iterable and values set to value.
get(key[, default])Return the value for key if key is in the dictionary, else default.
get_permissions(user)Gets the read/write permissions of a user on this project.
items()keys()pop(k[,d])If the key is not found, return the default if given; otherwise, raise a KeyError.
popitem()Remove and return a (key, value) pair as a 2-tuple.
save()Saves changes to this project or create if it does not exist.
setdefault(key[, default])Insert key with a value of default if key is not in the dictionary.
update(*mapping, **kwargs)update_permissions(user, permissions)Updates the read/write access for a user on this project.
values()