MCPcopy Create free account

hub / github.com/datmo/datmo / functions

Functions1,250 in github.com/datmo/datmo

↓ 201 callersMethodparse
(self, args)
datmo/cli/command/base.py:18
↓ 192 callersMethodget
(self, name)
datmo/core/util/json_store.py:70
↓ 177 callersMethodexecute
Calls the method if it exists on this object, otherwise call a default method name (module name) Raises ------
datmo/cli/command/base.py:49
↓ 117 callersMethodget_by_id
(self, entity_id)
datmo/core/storage/local/dal.py:204
↓ 115 callersMethodcreate
(self, datmo_entity)
datmo/core/storage/local/dal.py:213
↓ 99 callersMethodecho
(value)
datmo/cli/driver/helper.py:37
↓ 77 callersMethodcreate
Create a Code object Parameters ---------- commit_id : str, optional if commit_id is already present, will not ma
datmo/core/controller/code/code.py:45
↓ 65 callersMethodquery
(self, query_params, sort_key=None, sort_order=None)
datmo/core/storage/local/dal.py:255
↓ 63 callersMethodquery
find entities in collection matching params Parameters ---------- collection : str name of the collectio
datmo/core/storage/driver/__init__.py:83
↓ 54 callersMethodinit
(self)
datmo/core/controller/code/driver/git.py:120
↓ 54 callersMethodset
create entity object in collection Parameters ---------- collection : str name of the collection
datmo/core/storage/driver/__init__.py:45
↓ 47 callersMethodcreate
Create a file or directory Parameters ---------- relative_path : str path relative to the filepath dir :
datmo/core/controller/file/driver/__init__.py:51
↓ 45 callersFunctionto_bytes
(val)
datmo/core/controller/tests/test_snapshot.py:14
↓ 37 callersMethodcreate_ref
Add remaining files, make a commit and add it to a datmo code ref Parameters ---------- commit_id : str, optional
datmo/core/controller/code/driver/git.py:154
↓ 37 callersMethodget
Get task object and return Parameters ---------- task_id : str id for the task you would like to get Ret
datmo/core/controller/task.py:484
↓ 37 callersFunctionr
(a,b)
datmo/dashboard/static/js/jquery.min.js:2
↓ 37 callersFunctionto_bytes
(val)
datmo/core/controller/environment/tests/test_environment.py:17
↓ 36 callersMethodcreate
Create datmo environment definition Parameters ---------- path : str, optional absolute input definition file pat
datmo/core/controller/environment/driver/__init__.py:135
↓ 36 callersMethodremove
Remove built environment from driver memory Parameters ---------- name : str name of the built environment
datmo/core/controller/environment/driver/__init__.py:258
↓ 35 callersMethodset_home
(self, home_path)
datmo/config.py:80
↓ 34 callersMethodget
get entity object from collection Parameters ---------- collection : str name of the collection
datmo/core/storage/driver/__init__.py:26
↓ 32 callersMethodremove
(self, name)
datmo/core/util/json_store.py:89
↓ 30 callersMethodget
Retrieve file as python file object Parameters ---------- relative_path : str path relative to the filepath
datmo/core/controller/file/driver/__init__.py:87
↓ 29 callersFunctionto_bytes
(val)
datmo/core/controller/tests/test_task.py:15
↓ 28 callersMethodinit
Initialize the datmo file structure Returns ------- bool True if success Raises ------ F
datmo/core/controller/file/driver/__init__.py:36
↓ 26 callersMethodcopy
(self, src, dst, symlinks=False, ignore=None)
datmo/core/util/misc_functions.py:533
↓ 24 callersFunctionto_bytes
(val)
datmo/core/controller/code/driver/tests/test_git.py:17
↓ 23 callersMethod__setup
(self)
datmo/core/controller/tests/test_snapshot.py:56
↓ 23 callersMethodadd
(self, filepath, option=None)
datmo/core/controller/code/driver/git.py:370
↓ 23 callersMethodexists
checks if entity exists in collection Parameters ---------- collection : str name of the collection
datmo/core/storage/driver/__init__.py:64
↓ 20 callersMethodbuild
Build an environment from a definition path Parameters ---------- name : str name to give to the environment buil
datmo/core/controller/environment/driver/__init__.py:163
↓ 19 callersFunctionget_datmo_temp_path
(filepath)
datmo/core/util/misc_functions.py:292
↓ 19 callersMethodinit
Initialize the environment driver Returns ------- bool returns True if success else False Raises
datmo/core/controller/environment/driver/__init__.py:38
↓ 18 callersMethodlist
(self)
datmo/core/controller/code/code.py:89
↓ 17 callersMethod__set_variables
(self)
datmo/cli/command/tests/test_snapshot.py:60
↓ 17 callersMethod__set_variables
(self)
datmo/cli/command/tests/test_run.py:78
↓ 17 callersMethodbuild_image
Builds docker image Parameters ---------- tag : str name to tag image with definition_path : str
datmo/core/controller/environment/driver/dockerenv.py:393
↓ 17 callersFunctioncreate
Create a snapshot within a project The project must be created before this is implemented. You can do that by using the following command::
datmo/snapshot.py:134
↓ 17 callersFunctionprettify_datetime
(datetime_obj, tz=None)
datmo/core/util/misc_functions.py:264
↓ 17 callersMethodrun
Run and log an instance of the environment with the options given Parameters ---------- environment_id : str options
datmo/core/controller/environment/environment.py:332
↓ 17 callersMethodupdate
Update the environment metadata
datmo/core/controller/environment/environment.py:378
↓ 16 callersFunctionb
(c,e)
datmo/dashboard/static/js/jquery.min.js:2
↓ 16 callersFunctiong
(b,c,d,e)
datmo/dashboard/static/js/jquery.min.js:2
↓ 16 callersFunctionla
(a,b)
datmo/dashboard/static/js/jquery.min.js:2
↓ 15 callersMethodexists
(self, relative_path, directory=False)
datmo/core/controller/file/driver/local.py:166
↓ 15 callersMethodrun_container
Run Docker container with parameters given as defined below Parameters ---------- image_name : str Docker image na
datmo/core/controller/environment/driver/dockerenv.py:553
↓ 15 callersFunctionto_bytes
(val)
datmo/core/controller/environment/driver/dockerenv.py:16
↓ 15 callersFunctionto_bytes
(val)
datmo/tests/test_snapshot.py:14
↓ 14 callersMethod__default_create
(self)
datmo/core/controller/tests/test_snapshot.py:602
↓ 14 callersMethodget_logger
Returns a python logger with logging level set Parameters ---------- name : string Name of the logger. eg datmo.
datmo/core/util/logger.py:113
↓ 14 callersMethodlatest_commit
(self)
datmo/core/controller/code/driver/git.py:630
↓ 14 callersFunctionto_bytes
(val)
datmo/core/controller/environment/driver/tests/test_dockerenv.py:25
↓ 14 callersMethodupdate
Update the task metadata
datmo/core/controller/task.py:554
↓ 13 callersMethod__setup
(self)
datmo/core/controller/tests/test_task.py:54
↓ 13 callersMethod_get_tracked_files
Return list of tracked files relative to the root directory This will look through all of the files and will exclude any datmo directories
datmo/core/controller/code/driver/file.py:54
↓ 13 callersMethodcreate_collection
Takes a list of user given paths and aggregates into collection Parameters ---------- paths : list, optional list
datmo/core/controller/file/driver/__init__.py:175
↓ 13 callersFunctionmutually_exclusive
Goes through args to check for to see if they exist in the input_dictionary and adds them to output_dictionary. The output_dictionary is
datmo/core/util/misc_functions.py:147
↓ 13 callersMethodprompt_available_options
Prompt user to choose an available environment. Returns the environment name
datmo/cli/driver/helper.py:157
↓ 13 callersMethodrun
Run and log an instance of the environment with the options given Parameters ---------- name : str name of the bu
datmo/core/controller/environment/driver/__init__.py:204
↓ 13 callersFunctionto_bytes
(val)
datmo/cli/command/tests/test_run.py:26
↓ 12 callersMethodcommit
Git commit wrapper Parameters ---------- options: list List of strings for the command (e.g. ["-m", "hello"])
datmo/core/controller/code/driver/git.py:395
↓ 12 callersMethodexists
Returns a boolean if the environment exists Parameters ---------- environment_id : str environment id to check fo
datmo/core/controller/environment/environment.py:473
↓ 12 callersMethodstop
Stop the trace of running environment Parameters ---------- run_id : str, optional stop environment with specific
datmo/core/controller/environment/environment.py:424
↓ 12 callersFunctionto_bytes
(val)
datmo/cli/command/tests/test_snapshot.py:25
↓ 11 callersMethod__setup
(self)
datmo/core/controller/code/driver/tests/test_file.py:83
↓ 11 callersFunctione
(a,b)
datmo/dashboard/static/js/jquery.min.js:4
↓ 11 callersMethodexists
Returns a boolean if the code exists Parameters ---------- code_id : str code id to check for code_commit
datmo/core/controller/code/code.py:122
↓ 11 callersMethodprint_items
(self, header_list, item_dict_list, print_format="
datmo/cli/driver/helper.py:67
↓ 10 callersMethod__setup
(self)
datmo/core/controller/environment/tests/test_environment.py:59
↓ 10 callersMethodcheckout_ref
(self, commit_id)
datmo/core/controller/code/driver/git.py:267
↓ 10 callersMethodcopytree
(src_dirpath, dst_dirpath, symlinks=False, ignore=None)
datmo/core/controller/file/driver/local.py:72
↓ 10 callersFunctionga
(a,b,d,e)
datmo/dashboard/static/js/jquery.min.js:2
↓ 10 callersFunctionia
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 10 callersFunctionja
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 10 callersMethodstop
Stop and remove a run that is currently running Parameters ---------- run_id : str run id returned by the run com
datmo/core/controller/environment/driver/__init__.py:240
↓ 10 callersMethodstop_remove_containers_by_term
Stops and removes containers by term
datmo/core/controller/environment/driver/dockerenv.py:825
↓ 10 callersFunctionto_bytes
(val)
datmo/core/controller/code/driver/git.py:12
↓ 10 callersFunctionto_bytes
(val)
datmo/core/controller/code/driver/tests/test_file.py:17
↓ 10 callersFunctionto_bytes
(val)
datmo/cli/command/tests/test_workspace.py:13
↓ 10 callersMethodto_dictionary
(self)
datmo/core/entity/task.py:199
↓ 10 callersFunctionvalidate
(schema_name, values)
datmo/core/util/validation/__init__.py:13
↓ 9 callersMethod__setup
(self)
datmo/core/controller/file/tests/test_file_collection.py:47
↓ 9 callersMethod_calculate_project_environment_hash
Return the environment hash from contents in project environment directory. If environment_directory not present then will assume it is empty
datmo/core/controller/environment/environment.py:641
↓ 9 callersMethod_file_setup
Checks for user inputs and uses the file collection controller to obtain the file collection id and create the necessary collection
datmo/core/controller/snapshot.py:514
↓ 9 callersMethodcalculate_hash_paths
Takes a list of user given paths, copies to directory, and returns hash Parameters ---------- paths : list list o
datmo/core/controller/file/driver/__init__.py:192
↓ 9 callersFunctiond
(a)
datmo/dashboard/static/js/jquery.min.js:3
↓ 9 callersMethoderror
(self, message)
datmo/cli/driver/parser.py:37
↓ 9 callersFunctionh
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 9 callersMethodprompt
(self, msg, default=None)
datmo/cli/driver/helper.py:57
↓ 8 callersFunctionS
(a,b,c,d,e,f,g)
datmo/dashboard/static/js/jquery.min.js:2
↓ 8 callersFunctionc
(a)
datmo/dashboard/static/js/jquery.min.js:4
↓ 8 callersMethodcreate
Create Task object Returns ------- Task object entity for Task (datmo.core.entity.task.Task)
datmo/core/controller/task.py:55
↓ 8 callersMethodcurrent_hash
(self)
datmo/core/controller/code/driver/git.py:150
↓ 8 callersFunctionlist_all_filepaths
Returns all filepaths within dir relative to dir root
datmo/core/util/misc_functions.py:284
↓ 8 callersFunctionparse_path
Parse user given path Parameters ---------- path : str user given path Returns ------- src_path : str user g
datmo/core/util/misc_functions.py:299
↓ 8 callersFunctionparse_paths
Parse user given paths. Checks only source paths and destination are valid Parameters ---------- default_src_prefix : str default
datmo/core/util/misc_functions.py:335
↓ 8 callersMethodsetup
Create the supported environment definition file in given path Parameters ---------- options : dict can include t
datmo/core/controller/environment/driver/__init__.py:108
↓ 8 callersFunctionto_bytes
(val)
datmo/core/controller/file/driver/tests/test_local.py:12
↓ 8 callersFunctionto_bytes
(val)
datmo/core/controller/code/tests/test_code.py:14
↓ 8 callersFunctionto_bytes
(val)
datmo/cli/command/tests/test_environment.py:20
next →1–100 of 1,250, ranked by callers