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

keywords

Keywords 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()

permission(user)

Deprecated in v1.0.0

pop(k[,d])

If key is not found, default is returned if given, otherwise KeyError is raised

popitem()

Remove and return a (key, value) pair as a 2-tuple.

setdefault(key[, default])

Insert key with a value of default if key is not in the dictionary.

update(*mapping, **kwargs)

update_permission(user, permissions)

Deprecated in v1.0.0

update_permissions(user, permissions)

Updates the read/write access for a user on this project.

values()