Skip to content

Commit

Permalink
Reverted version to 0.0.8 (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhsharma22 authored Apr 25, 2024
1 parent 64c5eb1 commit 6567f9b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 26 deletions.
34 changes: 12 additions & 22 deletions cmflib/cmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,28 +384,18 @@ def create_execution(
self.execution_label_props["Execution_Name"] = (
execution_type + ":" + str(self.execution.id)
)
if cmd == None:
self.execution_label_props["execution_command"] = str(sys.argv)
if self.graph:
self.driver.create_execution_node(
self.execution_name,
self.child_context.id,
self.parent_context,
str(sys.argv),
self.execution.id,
custom_props,
)
else:
self.execution_label_props["execution_command"] = cmd
if self.graph:
self.driver.create_execution_node(
self.execution_name,
self.child_context.id,
self.parent_context,
cmd,
self.execution.id,
custom_props,
)

self.execution_label_props["execution_command"] = cmd
if self.graph:
self.driver.create_execution_node(
self.execution_name,
self.child_context.id,
self.parent_context,
str(sys.argv),
self.execution.id,
custom_props,
)

return self.execution

def update_execution(
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[project]
name = "cmflib"
version = "0.0.9"
version = "0.0.8"
dependencies = [
"ml-metadata==1.11.0",
"dvc[ssh,s3]==3.50.0",
"dvc[ssh,s3]==2.27.0",
"pandas",
"retrying",
"pyarrow",
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

VERSION = '0.0.9'
VERSION = '0.0.8'
DESCRIPTION = 'Metadata Python Package'
LONG_DESCRIPTION = 'Metadata framework storing AI metadata into MLMD'

Expand All @@ -14,7 +14,7 @@
long_description=LONG_DESCRIPTION,
packages=find_packages(),
install_requires=["ml-metadata==1.11.0",
"dvc[ssh,s3]==3.50.0", "pandas", "retrying", "pyarrow", "neo4j", \
"dvc[ssh,s3]==2.27.0", "pandas", "retrying", "pyarrow", "neo4j", \
"scikit-learn", "tabulate", "click", "minio", "paramiko"], # add any additional packages that
# needs to be installed along with your package. Eg: 'caer'

Expand Down

0 comments on commit 6567f9b

Please sign in to comment.