status = "deprecated"
- object_type = 'Node'
-
node_fields = dict(filter(can_update, Node.fields.items()))
accepts = [
returns = Parameter(int, '1 if successful')
- object_type = 'Person'
-
def call(self, auth, person_id_or_email):
# Get account information
persons = Persons(self.api, [person_id_or_email])
status = "deprecated"
- object_type = 'Node'
returns = Parameter(int, '1 if successful')
- object_type = 'Person'
-
def call(self, auth, person_id_or_email, key_ids):
# Get account information
persons = Persons(self.api, [person_id_or_email])
status = "deprecated"
- object_type = 'Node'
-
roles = ['admin', 'pi', 'user', 'tech']
accepts = [
status = "deprecated"
- object_type = 'Node'
-
def call(self, auth, node_id_or_hostname_list = None, return_fields = None):
return GetNodes.call(self, auth, node_id_or_hostname_list)
returns = dict
- object_type = 'Person'
-
def call(self, auth, person_id_or_email):
# Get account information
persons = Persons(self.api, [person_id_or_email])
returns = Parameter(int, "1 if account has role, 0 otherwise")
- object_type = 'Person'
-
def call(self, auth, person_id_or_email, role_id_or_name):
# This is a totally fucked up function. I have no idea why it
# exists or who calls it, but here is how it is supposed to
status = "deprecated"
- object_type = 'Node'
-
roles = ['admin', 'pi', 'user', 'tech']
accepts = [
"""
status = "deprecated"
-
- object_type = 'Node'
"""
status = "deprecated"
-
- object_type = 'Node'