Source code for pharmpy.workflows.model_database.null_database
from ...workflows.model_entry import ModelEntry
from .baseclass import NonTransactionalModelDatabase
[docs]
class NullModelDatabase(NonTransactionalModelDatabase):
"""Dummy model database implementation
No operation does anything. This database can be used if no storing of files
is desirable.
"""
def __init__(self, **kwargs):
pass
[docs]
def store_model(self, model):
pass
[docs]
def store_local_file(self, model, path, new_filename=None):
pass
[docs]
def store_modelfit_results(self, model):
pass
[docs]
def store_model_entry(self, model_entry: ModelEntry) -> None:
pass
[docs]
def retrieve_file(self, model_name, filename):
pass
[docs]
def retrieve_local_files(self, name, destination_path):
pass
[docs]
def retrieve_model(self, name):
pass
[docs]
def retrieve_modelfit_results(self, name):
pass
[docs]
def retrieve_model_entry(self, name):
pass