Module Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict NameLoad Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A pymongo utils current_time PanMongo N/A object N/A N/A  Connection to the running MongoDB instance

    This is a collection of parameters that are initialized when the unit
    starts and can be read and updated as the project is running. The server
    is a wrapper around a mongodb collection.
     __init__ N/A N/A self host port N/A localhost 27017 N/A N/A N/A self _client N/A N/A pymongo MongoClient host port N/A collections N/A camera config current environment images mount visits state target weather N/A collection collections N/A N/A N/A setattr self collection N/A getattr N/A N/A self _client panoptes N/A N/A panoptes.{} format collection N/A insert_current N/A N/A self collection obj N/A N/A N/A col N/A getattr self collection N/A current_obj N/A type data date collection obj N/A current_time utcnow True N/A N/A N/A N/A self current replace_one N/A type collection current_obj True N/A N/A N/A col insert_one current_obj N/A get_param N/A N/A self key N/A None N/A N/A  Gets a value from the param server.

        Args:
                key: name of parameter.

        Returns:
                A value for the named parameter. This can be any object that
                is stored in a dict. If no key is specified, warning is given
                and nothing is returned.
         N/A val None N/A N/A key None N/A N/A param N/A N/A N/A N/A self _db param_server find_one N/A key N/A $exists True N/A val N/A N/A param get key N/A val N/A N/A