Module ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str ClassDef bases body Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If NameLoad body Assign NameStore CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr UnaryOpNot NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr UnaryOpNot NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr UnaryOpNot NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr UnaryOpNot NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad Dict Str NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Return Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return Call NameLoad keyword AttributeLoad NameLoad attr orelse Return Call NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import unicode_literals rest_framework viewsets serializers status rest_framework.response Response logical models physical.models Plan Environment account.models Team credential CredentialSerializer django.contrib.sites.models Site notification.tasks create_database notification.models TaskHistory N/A logging N/A LOG N/A N/A logging getLogger __name__ DatabaseSerializer N/A N/A serializers HyperlinkedModelSerializer N/A N/A plan N/A N/A serializers HyperlinkedRelatedField source plan view_name plan-detail queryset N/A N/A N/A Plan objects filter is_active True N/A environment N/A N/A serializers HyperlinkedRelatedField source environment view_name environment-detail queryset N/A Environment objects N/A team N/A N/A serializers HyperlinkedRelatedField source team view_name team-detail queryset N/A Team objects N/A endpoint N/A N/A serializers Field source endpoint N/A quarantine_dt N/A N/A serializers Field source quarantine_dt N/A total_size_in_bytes N/A N/A serializers Field source total_size N/A credentials N/A CredentialSerializer many True read_only True N/A status N/A N/A serializers Field source status N/A used_size_in_bytes N/A N/A serializers Field source used_size_in_bytes Meta N/A N/A N/A model N/A models Database N/A fields N/A url id name endpoint plan environment project team quarantine_dt total_size_in_bytes credentials description status used_size_in_bytes created_at N/A read_only N/A credentials status used_size_in_bytes N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super DatabaseSerializer self __init__ args kwargs N/A request N/A N/A N/A self context get request None N/A request N/A N/A creating N/A N/A request method POST N/A N/A N/A N/A self fields N/A plan read_only N/A creating N/A N/A N/A N/A self fields N/A environment read_only N/A creating N/A N/A N/A N/A self fields N/A name read_only N/A creating N/A N/A N/A N/A self fields N/A credentials read_only True N/A N/A N/A N/A self fields N/A description read_only N/A creating N/A N/A DatabaseAPI N/A N/A viewsets ModelViewSet N/A N/A 
    *   ### __List databases__
        __GET__ /api/database/
    *   ### __To create a new database__
        __POST__ /api/database/
            {
                "name": "{name}",
                "plan": "{api_url}/plan/{plan_id}/",
                "environment": "{api_url}/environment/{environment_id}/",
                "project": "{api_url}/project/{project_id}/",
                "team": "{api_url}/team/{team_id}/",
                "description": "{description}"
            }
    *   ### __Show details about a database__
        __GET__ /api/database/`database_id`/
    *   ### __To delete a database (will put it on quarantine)__
        __DELETE__ /api/database/`database_id`/
    *   ### __To change database project__
        __PUT__ /api/database/`database_id`/
            {
                "project": "{api_url}/project/{project_id}/"
            }
     N/A serializer_class DatabaseSerializer N/A queryset N/A N/A N/A N/A models Database objects all create N/A N/A self request N/A N/A N/A serializer N/A N/A self get_serializer data N/A request DATA files N/A request FILES N/A N/A N/A serializer is_valid N/A N/A N/A N/A self pre_save N/A serializer object N/A data N/A N/A serializer restore_fields N/A request DATA N/A request FILES N/A task_history N/A TaskHistory N/A N/A task_history task_name create_database N/A N/A task_history task_status N/A task_history STATUS_PENDING N/A N/A task_history arguments N/A N/A Database name: {} format N/A data N/A name N/A N/A N/A task_history save N/A result N/A N/A create_database delay name N/A data N/A name plan N/A data N/A plan environment N/A data N/A environment team N/A data N/A team project N/A data N/A project description N/A data N/A description task_history task_history user N/A request user N/A headers N/A N/A self get_success_headers data N/A task_url N/A N/A N/A N/A N/A Site objects get_current domain N/A /api/task?task_id=%s N/A str N/A result id N/A N/A Response N/A task task_url status N/A status HTTP_201_CREATED headers headers N/A N/A Response N/A serializer errors status N/A status HTTP_400_BAD_REQUEST N/A destroy N/A N/A self request N/A args kwargs N/A N/A instance N/A N/A self get_object N/A N/A N/A instance is_in_quarantine N/A N/A N/A N/A instance delete N/A N/A Response status N/A status HTTP_204_NO_CONTENT N/A N/A N/A Response status N/A status HTTP_401_UNAUTHORIZED N/A N/A