api_endpoints
index
/home/gcallah/TandonDevOps/IndraABM/APIServer/api_endpoints.py

# Indra API server

 
Modules
       
models.basic
flask_restx.fields
logging
db.menus_db
lib.model
db.model_db
registry.registry
werkzeug.exceptions

 
Classes
       
flask_restx.resource.Resource(flask.views.MethodView)
Agent
ClearRegistry
CreateActions
CreateGroup
Endpoints
HelloWorld
Locations
MenuForDebug
MenuForModel
Model
Models
ModelsGenerator
PopHist
Props
Registry
RunModel
SourceCode
UserMsgs

 
class Agent(flask_restx.resource.Resource)
    Agent(api=None, *args, **kwargs)
 
This endpoint can get an agent given exec key and agent name.
We should eventually implement DELETE and POST methods here,
at least.
 
 
Method resolution order:
Agent
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self)
Get agent by name from the registry.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'agent'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class ClearRegistry(flask_restx.resource.Resource)
    ClearRegistry(api=None, *args, **kwargs)
 
This clears the entries for one `exec_key` out of the registry.
The exec_key becomes stale once the user navigates away from the
`run model` page on the front end. When a user has finished running
a model from the frontend we should clear it's data in the backend.
 
 
Method resolution order:
ClearRegistry
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
delete(self, exec_key)
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'clear_registry'
methods = {'DELETE'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class CreateActions(flask_restx.resource.Resource)
    CreateActions(api=None, *args, **kwargs)
 

 
 
Method resolution order:
CreateActions
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
mediatypes lambda resource_cls
post(self, exec_key=0)
Generate actions and add to the corresponding group.
(Input : model name and exec_key)

Data and other attributes defined here:
endpoint = 'create_actions'
methods = {'POST'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class CreateGroup(flask_restx.resource.Resource)
    CreateGroup(api=None, *args, **kwargs)
 

 
 
Method resolution order:
CreateGroup
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
mediatypes lambda resource_cls
post(self, exec_key=0)
Add groups to Generated model. (Input : exec key and other params)

Data and other attributes defined here:
endpoint = 'create_group'
methods = {'POST'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class Endpoints(flask_restx.resource.Resource)
    Endpoints(api=None, *args, **kwargs)
 
A class to deal with our endpoints themselves.
 
 
Method resolution order:
Endpoints
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self)
List our endpoints.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'endpoints'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class HelloWorld(flask_restx.resource.Resource)
    HelloWorld(api=None, *args, **kwargs)
 

 
 
Method resolution order:
HelloWorld
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self)
A trivial endpoint just to see if we are running at all.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'hello_world'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class Locations(flask_restx.resource.Resource)
    Locations(api=None, *args, **kwargs)
 
This endpoint gets an agent agent coordinate location.
 
 
Method resolution order:
Locations
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self, exec_key)
Get all locations in a model.
This will return a dictionary of locations as keys
and agent names as the value.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'locations'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class MenuForDebug(flask_restx.resource.Resource)
    MenuForDebug(api=None, *args, **kwargs)
 
This endpoint deals with the debug menu.
 
 
Method resolution order:
MenuForDebug
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self)
Return the menu for debugging a model.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'menu_for_debug'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class MenuForModel(flask_restx.resource.Resource)
    MenuForModel(api=None, *args, **kwargs)
 
This endpoint deals with the model menu.
 
 
Method resolution order:
MenuForModel
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self)
Return the menu for interacting with a model.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'menu_for_model'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class Model(flask_restx.resource.Resource)
    Model(api=None, *args, **kwargs)
 

 
 
Method resolution order:
Model
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self, exec_key=0)
Return a single model from the registry.
exec_key is set to 0 by default.
mediatypes lambda resource_cls
post(self, exec_key)
Setup a test model in the registry.

Data and other attributes defined here:
endpoint = 'model'
methods = {'GET', 'POST'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class Models(flask_restx.resource.Resource)
    Models(api=None, *args, **kwargs)
 
This class deals with the database of models.
 
 
Method resolution order:
Models
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self, active=False)
Get a list of available models.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'models'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class ModelsGenerator(flask_restx.resource.Resource)
    ModelsGenerator(api=None, *args, **kwargs)
 

 
 
Method resolution order:
ModelsGenerator
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
mediatypes lambda resource_cls
post(self)
Generate model and return a exec_key.(Input : model name)

Data and other attributes defined here:
endpoint = 'models_generator'
methods = {'POST'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class PopHist(flask_restx.resource.Resource)
    PopHist(api=None, *args, **kwargs)
 
A class for endpoints that interact with population history.
 
 
Method resolution order:
PopHist
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self, exec_key)
This returns the population history for a running model.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'pop_hist'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class Props(flask_restx.resource.Resource)
    Props(api=None, *args, **kwargs)
 
An endpoint to deal with props (parameters).
 
 
Method resolution order:
Props
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self, model_id)
Get the list of properties (parameters) for a model.
mediatypes lambda resource_cls
put(self, model_id)
Put a revised list of parameters for a model back to the server.
This should return a new model with the revised props.

Data and other attributes defined here:
endpoint = 'props'
methods = {'GET', 'PUT'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class Registry(flask_restx.resource.Resource)
    Registry(api=None, *args, **kwargs)
 
A class to interact with the registry through the API.
 
 
Method resolution order:
Registry
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self)
Fetches the registry as {"exec_key": "model name", etc. }
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'registry'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class RunModel(flask_restx.resource.Resource)
    RunModel(api=None, *args, **kwargs)
 
This endpoint deals with running models.
 
 
Method resolution order:
RunModel
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
mediatypes lambda resource_cls
put(self, run_time)
Put a model env to the server and run it `run_time` periods.
Catch all possible exceptions to keep the server responsive.

Data and other attributes defined here:
endpoint = 'run_model'
methods = {'PUT'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class SourceCode(flask_restx.resource.Resource)
    SourceCode(api=None, *args, **kwargs)
 
This endpoint deals with model source code.
 
 
Method resolution order:
SourceCode
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self, model_id)
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'source_code'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class UserMsgs(flask_restx.resource.Resource)
    UserMsgs(api=None, *args, **kwargs)
 
This endpoint deals with messages to the user.
 
 
Method resolution order:
UserMsgs
flask_restx.resource.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self, exec_key)
Get all user messages for an exec key.
mediatypes lambda resource_cls

Data and other attributes defined here:
endpoint = 'user_msgs'
methods = {'GET'}

Methods inherited from flask_restx.resource.Resource:
__init__(self, api=None, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.
validate_payload(self, func)
Perform a payload validation on expected model if necessary

Data and other attributes inherited from flask_restx.resource.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
Functions
       
get_model_if_exists(exec_key)
A function that returns the model running at `exec_key`
or raises a 404 error if it doesn't exist.
str_to_bool(s)
Convert plausible "true" strings to bool True.
Other values to False.
Useful for taking URL inputs to real boolean values.

 
Data
        MODELS_GEN_URL = '/models/generate/create_model'
MODELS_URL = '/models'
MODEL_GEN_CREATE_GROUP_URL = '/models/generate/create_group/0'
MODEL_GEN_CREATE_ID = 14
MODEL_PROPS_URL = '/models/props'
MODEL_RUN_URL = '/models/run'
PERIODS = 'periods'
POPS = 'pops'
TRUE_STRS = ['True', 'true', '1']
api = <flask_restx.api.Api object>
app = <Flask 'api_endpoints'>
create_model_spec = {'model_name': <flask_restx.fields.String object...lask_restx.fields.List object at 0x7f6ebfc70f10>}
env = {'model': <flask_restx.fields.String object at 0x7f6ebfc84430>}
group_fields = {'group_name': <class 'flask_restx.fields.String...lask_restx.fields.List object at 0x7f6ebfc5df10>}
indra_dir = '/home/gcallah/TandonDevOps/IndraABM'
model_name_defn = {'model_name': <flask_restx.fields.String object at 0x7f6ebfc70730>}
props = {'props': <flask_restx.fields.String object at 0x7f6ebfc70670>}
registry = <registry.registry.Registry object>
request = <LocalProxy unbound>