PEP8 formatting
This commit is contained in:
parent
ff8d5c96b7
commit
ff99134ac4
@ -239,7 +239,7 @@ permissions_embedded_schema = {
|
|||||||
'schema': {
|
'schema': {
|
||||||
'type': 'dict',
|
'type': 'dict',
|
||||||
'schema': {
|
'schema': {
|
||||||
'user' : {
|
'user': {
|
||||||
'type': 'objectid',
|
'type': 'objectid',
|
||||||
'required': True,
|
'required': True,
|
||||||
},
|
},
|
||||||
@ -253,8 +253,8 @@ permissions_embedded_schema = {
|
|||||||
},
|
},
|
||||||
'world': {
|
'world': {
|
||||||
'type': 'list',
|
'type': 'list',
|
||||||
#'required': True,
|
# 'required': True,
|
||||||
'allowed': ['GET',]
|
'allowed': ['GET', ]
|
||||||
},
|
},
|
||||||
'is_free': {
|
'is_free': {
|
||||||
'type': 'boolean',
|
'type': 'boolean',
|
||||||
@ -315,8 +315,8 @@ nodes_schema = {
|
|||||||
'required': True
|
'required': True
|
||||||
},
|
},
|
||||||
'properties': {
|
'properties': {
|
||||||
'type' : 'dict',
|
'type': 'dict',
|
||||||
'valid_properties' : True,
|
'valid_properties': True,
|
||||||
'required': True,
|
'required': True,
|
||||||
},
|
},
|
||||||
'permissions': {
|
'permissions': {
|
||||||
@ -740,9 +740,9 @@ tokens = {
|
|||||||
'resource_methods': ['GET', 'POST'],
|
'resource_methods': ['GET', 'POST'],
|
||||||
|
|
||||||
# Allow 'token' to be returned with POST responses
|
# Allow 'token' to be returned with POST responses
|
||||||
#'extra_response_fields': ['token'],
|
# 'extra_response_fields': ['token'],
|
||||||
|
|
||||||
'schema' : tokens_schema
|
'schema': tokens_schema
|
||||||
}
|
}
|
||||||
|
|
||||||
files = {
|
files = {
|
||||||
@ -784,7 +784,6 @@ notifications = {
|
|||||||
'schema': notifications_schema,
|
'schema': notifications_schema,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = {
|
DOMAIN = {
|
||||||
'users': users,
|
'users': users,
|
||||||
'nodes': nodes,
|
'nodes': nodes,
|
||||||
@ -798,7 +797,6 @@ DOMAIN = {
|
|||||||
'notifications': notifications
|
'notifications': notifications
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
MONGO_HOST = os.environ.get('MONGO_HOST', 'localhost')
|
MONGO_HOST = os.environ.get('MONGO_HOST', 'localhost')
|
||||||
MONGO_PORT = os.environ.get('MONGO_PORT', 27017)
|
MONGO_PORT = os.environ.get('MONGO_PORT', 27017)
|
||||||
MONGO_DBNAME = os.environ.get('MONGO_DBNAME', 'eve')
|
MONGO_DBNAME = os.environ.get('MONGO_DBNAME', 'eve')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user