Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/datmo/datmo
/ functions
Functions
1,250 in github.com/datmo/datmo
⨍
Functions
1,250
◇
Types & classes
187
↳
Endpoints
27
↓ 8 callers
Function
to_bytes
(val)
datmo/cli/tests/test_main.py:8
↓ 8 callers
Method
to_dict
(self)
datmo/core/util/json_store.py:105
↓ 7 callers
Function
I
(a,b)
datmo/dashboard/static/js/jquery.min.js:2
↓ 7 callers
Method
__init__
(self, driver_type, driver_options, driver=None)
datmo/core/storage/local/dal.py:53
↓ 7 callers
Method
__set_variables
(self)
datmo/cli/command/tests/test_environment.py:51
↓ 7 callers
Function
check_docker_inactive
(filepath, datmo_directory_name)
datmo/core/util/misc_functions.py:222
↓ 7 callers
Method
check_unstaged_changes
Checks if there exists any unstaged changes for the environment in project environment directory. Returns ------- bool
datmo/core/controller/environment/environment.py:503
↓ 7 callers
Method
config_loader
(self, key)
datmo/core/controller/base.py:112
↓ 7 callers
Method
create
Create snapshot object Parameters ---------- dictionary : dict for each of the 5 key components, this function w
datmo/core/controller/snapshot.py:77
↓ 7 callers
Method
create_from_task
Create snapshot from a completed task. # TODO: enable create from task DURING a run Parameters ---------- message : s
datmo/core/controller/snapshot.py:226
↓ 7 callers
Method
delete
(self, entity_id)
datmo/core/storage/local/dal.py:252
↓ 7 callers
Method
exists
Determine if a file or directory exists Parameters ---------- relative_path : str path relative to the filepath
datmo/core/controller/file/driver/__init__.py:69
↓ 7 callers
Method
get_by_shortened_id
(self, shortened_entity_id)
datmo/core/storage/local/dal.py:208
↓ 7 callers
Method
get_collection_path
Return the collection path by filehash Parameters ---------- filehash : str hash representing the files in the co
datmo/core/controller/file/driver/__init__.py:210
↓ 7 callers
Function
ls
List snapshots within a project The project must be created before this is implemented. You can do that by using the following command::
datmo/snapshot.py:257
↓ 7 callers
Function
mb
(a)
datmo/dashboard/static/js/jquery.min.js:4
↓ 7 callers
Function
pa
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 7 callers
Function
parse_cli_key_value
(cli_string, default_key)
datmo/core/util/misc_functions.py:244
↓ 7 callers
Function
printable_object
(object, max_width=40)
datmo/core/util/misc_functions.py:98
↓ 7 callers
Method
remove_image
(self, image_id_or_name, force=False)
datmo/core/controller/environment/driver/dockerenv.py:466
↓ 7 callers
Method
type
(self)
datmo/core/entity/run.py:94
↓ 7 callers
Method
update
(self, datmo_entity)
datmo/core/storage/local/dal.py:229
↓ 7 callers
Function
y
(a,b,c)
datmo/dashboard/static/js/jquery.min.js:2
↓ 6 callers
Method
__get_core_task
Returns the latest core task object for id Returns ------- datmo.core.entity.task.Task core task object fo the ta
datmo/core/entity/run.py:159
↓ 6 callers
Method
__reload
(self)
datmo/core/storage/driver/blitzdb_dal_driver.py:53
↓ 6 callers
Method
_calculate_commit_hash
Return the commit hash of the repository
datmo/core/controller/code/driver/file.py:86
↓ 6 callers
Method
_config_setup
Fills in snapshot config by having one of the following: 1. config = JSON object 2. config_filepath = some location where a j
datmo/core/controller/snapshot.py:539
↓ 6 callers
Method
_parse_git_url
(self, original_git_url, mode="https")
datmo/core/controller/code/driver/git.py:348
↓ 6 callers
Method
_stats_setup
Fills in snapshot stats by having one of the following: 1. stats = JSON object 2. stats_filepath = some location where a json
datmo/core/controller/snapshot.py:575
↓ 6 callers
Method
check_unstaged_changes
Checks if there exists any unstaged changes for the file collection in the files directory If the folder does not exist, then there are no uns
datmo/core/controller/file/file_collection.py:207
↓ 6 callers
Method
check_unstaged_changes
Checks if there exists any unstaged changes for the code in the project. Returns ------- bool False if it's alrea
datmo/core/controller/code/code.py:149
↓ 6 callers
Method
delete
Delete all traces of Code object Parameters ---------- code_id : str code object id to remove Returns
datmo/core/controller/code/code.py:93
↓ 6 callers
Function
f
(f,g,h,i,k)
datmo/dashboard/static/js/jquery.min.js:2
↓ 6 callers
Function
format_table
(data, padding=2)
datmo/core/util/misc_functions.py:271
↓ 6 callers
Method
get_files
Get list of file objects for task id. It will look in the following areas in the following order 1) look in the after snapshot for file colle
datmo/core/controller/task.py:507
↓ 6 callers
Method
save
(self, key, value)
datmo/core/util/json_store.py:52
↓ 6 callers
Method
start
(self)
datmo/core/util/spinner.py:18
↓ 6 callers
Method
task_run_helper
Run task with given parameters and provide error identifier Parameters ---------- task_dict : dict input
datmo/cli/command/base.py:101
↓ 6 callers
Function
to_bytes
(val)
datmo/core/controller/tests/test_project.py:17
↓ 6 callers
Function
to_bytes
(val)
datmo/core/controller/tests/test_snapshot_private.py:9
↓ 6 callers
Function
to_bytes
(val)
datmo/core/controller/file/tests/test_file_collection.py:15
↓ 6 callers
Function
to_bytes
(val)
datmo/core/util/tests/test_misc_functions.py:18
↓ 6 callers
Function
update
Update 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:312
↓ 6 callers
Function
wa
(a,b,c,d,e)
datmo/dashboard/static/js/jquery.min.js:2
↓ 5 callers
Function
Ha
(a,b,c,d)
datmo/dashboard/static/js/jquery.min.js:3
↓ 5 callers
Function
Ma
(a,b,c)
datmo/dashboard/static/js/jquery.min.js:3
↓ 5 callers
Method
__get_core_snapshot
Returns the latest core snapshot object for id Returns ------- datmo.core.entity.snapshot.Snapshot or None core s
datmo/core/entity/run.py:169
↓ 5 callers
Method
__setup
(self)
datmo/tests/test_snapshot.py:283
↓ 5 callers
Method
_calculate_project_files_hash
Return the file hash of the file collections filepaths for project files directory. If files_directory not present then will assume it is empt
datmo/core/controller/file/file_collection.py:169
↓ 5 callers
Method
_code_setup
Set the code_id by using: 1. code_id 2. commit_id string, which creates a new code_id 3. create a new code id
datmo/core/controller/snapshot.py:470
↓ 5 callers
Method
check_unstaged_changes
Checks if there exists any unstaged changes for code Raises ------ UnstagedChanges error if not there exists unst
datmo/core/controller/code/driver/git.py:472
↓ 5 callers
Method
create_collections_dir
(self)
datmo/core/controller/file/driver/local.py:393
↓ 5 callers
Method
create_files_dir
(self)
datmo/core/controller/file/driver/local.py:361
↓ 5 callers
Method
current_snapshot
Get current snapshot and return if no unstaged changes Returns ------- datmo.core.entity.snapshot.Snapshot or None
datmo/core/controller/snapshot.py:46
↓ 5 callers
Method
delete_ref
(self, commit_id)
datmo/core/controller/code/driver/git.py:226
↓ 5 callers
Method
ensure_code_refs_dir
(self)
datmo/core/controller/code/driver/git.py:817
↓ 5 callers
Method
exists_datmo_files_ignored
(self)
datmo/core/controller/code/driver/git.py:278
↓ 5 callers
Method
exists_hidden_datmo_dir
(self)
datmo/core/controller/file/driver/local.py:347
↓ 5 callers
Method
exists_ref
Returns a boolean if the commit exists Parameters ---------- commit_id : str commit id to check for Retu
datmo/core/controller/code/driver/file.py:257
↓ 5 callers
Method
get_container
(self, container_id)
datmo/core/controller/environment/driver/dockerenv.py:709
↓ 5 callers
Method
latest_ref
(self)
datmo/core/controller/code/driver/git.py:203
↓ 5 callers
Method
list
(self, sort_key=None, sort_order=None)
datmo/core/controller/task.py:480
↓ 5 callers
Method
list_images
(self, name=None, all_images=False, filters=None)
datmo/core/controller/environment/driver/dockerenv.py:457
↓ 5 callers
Method
remove_container
(self, container_id, force=False)
datmo/core/controller/environment/driver/dockerenv.py:748
↓ 5 callers
Method
run
(self, **kwargs)
datmo/cli/command/run.py:29
↓ 5 callers
Method
stop
(self)
datmo/core/util/spinner.py:23
↓ 5 callers
Function
to_bytes
(val)
datmo/core/util/json_store.py:11
↓ 5 callers
Function
to_bytes
(val)
datmo/cli/command/tests/test_project.py:13
↓ 5 callers
Method
update
Update the snapshot metadata
datmo/core/controller/snapshot.py:361
↓ 4 callers
Function
A
(b,c,d,h)
datmo/dashboard/static/js/jquery.min.js:4
↓ 4 callers
Function
La
(b)
datmo/dashboard/static/js/jquery.min.js:3
↓ 4 callers
Function
T
(a)
datmo/dashboard/static/js/jquery.min.js:3
↓ 4 callers
Method
__environment_setup
(self)
datmo/cli/command/tests/test_flow.py:62
↓ 4 callers
Method
__run
(self)
datmo/cli/command/tests/test_flow.py:72
↓ 4 callers
Method
__run_ls
(self)
datmo/cli/command/tests/test_flow.py:79
↓ 4 callers
Method
__set_variables
(self)
datmo/cli/command/tests/test_flow.py:43
↓ 4 callers
Method
__snapshot_create
(self)
datmo/cli/command/tests/test_flow.py:84
↓ 4 callers
Method
__snapshot_ls
(self)
datmo/cli/command/tests/test_flow.py:91
↓ 4 callers
Method
_find_in_filecollection
Attempts to find a file within the file collection Returns ------- dict output dictionary of the JSON file
datmo/core/controller/snapshot.py:612
↓ 4 callers
Method
_has_unstaged_changes
Return whether there are unstaged changes
datmo/core/controller/environment/environment.py:690
↓ 4 callers
Method
_has_unstaged_changes
Return whether there are unstaged changes
datmo/core/controller/file/file_collection.py:198
↓ 4 callers
Function
cb
(a,b)
datmo/dashboard/static/js/jquery.min.js:3
↓ 4 callers
Method
command_run
(self, command)
datmo/cli/tests/test_main.py:56
↓ 4 callers
Method
create
Create files or directories Parameters ---------- relative_path : str relative filepath from base filepa
datmo/core/controller/file/driver/local.py:139
↓ 4 callers
Method
create_environment_dir
(self)
datmo/core/controller/environment/driver/dockerenv.py:168
↓ 4 callers
Method
create_hidden_datmo_dir
(self)
datmo/core/controller/file/driver/local.py:342
↓ 4 callers
Function
create_unique_hash
(base_hash=None, salt=None)
datmo/core/util/misc_functions.py:132
↓ 4 callers
Function
delete
Delete 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:360
↓ 4 callers
Method
delete
(self, relative_path, directory=False)
datmo/core/controller/file/driver/local.py:199
↓ 4 callers
Method
exists_environment_dir
(self)
datmo/core/controller/environment/driver/dockerenv.py:177
↓ 4 callers
Method
exists_ref
(self, commit_id)
datmo/core/controller/code/driver/git.py:219
↓ 4 callers
Function
get
(message_type, key, values=None)
datmo/core/util/i18n.py:11
↓ 4 callers
Method
get_dirhash
Return the hash of the directory path given Parameters ---------- dirpath : str path of the directory Re
datmo/core/controller/file/driver/__init__.py:160
↓ 4 callers
Method
get_files
Returns a list of file objects for the snapshot Parameters ---------- mode : str file object mode (de
datmo/snapshot.py:82
↓ 4 callers
Function
get_headers
(access_key)
datmo/core/util/misc_functions.py:387
↓ 4 callers
Method
list_refs
(self)
datmo/core/controller/code/driver/git.py:236
↓ 4 callers
Function
ma
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 4 callers
Function
oa
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 4 callers
Method
prompt_bool
(self, msg)
datmo/cli/driver/helper.py:103
↓ 4 callers
Function
sa
(a)
datmo/dashboard/static/js/jquery.min.js:2
← previous
next →
101–200 of 1,250, ranked by callers