Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pypelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HaissLab
Data Management
Pypelines
Commits
78a5df83
Commit
78a5df83
authored
7 months ago
by
Timothe Jost
Browse files
Options
Downloads
Patches
Plain Diff
just changing default value of version from 0 to None (backward compatibility quick fix)
parent
26356999
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
notebooks/feature_test.ipynb
+0
-0
0 additions, 0 deletions
notebooks/feature_test.ipynb
src/pypelines/__init__.py
+1
-1
1 addition, 1 deletion
src/pypelines/__init__.py
src/pypelines/disk.py
+7
-2
7 additions, 2 deletions
src/pypelines/disk.py
src/pypelines/steps.py
+1
-1
1 addition, 1 deletion
src/pypelines/steps.py
with
9 additions
and
4 deletions
src/pypeline
s/feature_test.ipynb
→
notebook
s/feature_test.ipynb
+
0
−
0
View file @
78a5df83
File moved
This diff is collapsed.
Click to expand it.
src/pypelines/__init__.py
+
1
−
1
View file @
78a5df83
__version__
=
"
0.0.7
5
"
__version__
=
"
0.0.7
6
"
from
.
import
loggs
from
.
import
loggs
from
.pipes
import
*
from
.pipes
import
*
...
...
This diff is collapsed.
Click to expand it.
src/pypelines/disk.py
+
7
−
2
View file @
78a5df83
...
@@ -168,7 +168,12 @@ class BaseDiskObject(metaclass=ABCMeta):
...
@@ -168,7 +168,12 @@ class BaseDiskObject(metaclass=ABCMeta):
str: A message describing the status of the object, including loadability, deprecation, step level,
str: A message describing the status of the object, including loadability, deprecation, step level,
and found disk object description.
and found disk object description.
"""
"""
loadable_disk_message
=
"
A disk object is loadable.
"
if
self
.
is_loadable
()
else
""
session
=
self
.
session
.
alias
step
=
self
.
step
.
complete_name
extra
=
str
(
self
.
extra
)
if
self
.
extra
is
not
None
else
""
loadable_disk_message
=
"
Disk object for A disk object is loadable.
"
if
self
.
is_loadable
()
else
""
deprecated_disk_message
=
(
deprecated_disk_message
=
(
f
"
This object
'
s version is
{
'
deprecated
'
if
self
.
version_deprecated
()
else
'
the current one
'
}
.
"
f
"
This object
'
s version is
{
'
deprecated
'
if
self
.
version_deprecated
()
else
'
the current one
'
}
.
"
)
)
...
@@ -189,7 +194,7 @@ class BaseDiskObject(metaclass=ABCMeta):
...
@@ -189,7 +194,7 @@ class BaseDiskObject(metaclass=ABCMeta):
else
""
else
""
)
)
return
(
return
(
f
"
{
self
.
object_name
}
object has
{
'
a
'
if
self
.
is_matching
()
else
'
no
'
}
valid disk object found.
"
f
"
{
self
.
object_name
}
object has
{
'
a
'
if
self
.
is_matching
()
else
'
no
'
}
valid disk object found.
\n
"
f
"
{
found_disk_object_description
}{
loadable_disk_message
}
"
f
"
{
found_disk_object_description
}{
loadable_disk_message
}
"
)
)
...
...
This diff is collapsed.
Click to expand it.
src/pypelines/steps.py
+
1
−
1
View file @
78a5df83
...
@@ -122,7 +122,7 @@ class BaseStep:
...
@@ -122,7 +122,7 @@ class BaseStep:
# as they are get only (no setter) on worker if it is not None (bound method)
# as they are get only (no setter) on worker if it is not None (bound method)
self
.
do_dispatch
=
self
.
get_attribute_or_default
(
"
do_dispatch
"
,
True
)
self
.
do_dispatch
=
self
.
get_attribute_or_default
(
"
do_dispatch
"
,
True
)
self
.
version
=
self
.
get_attribute_or_default
(
"
version
"
,
0
)
self
.
version
=
self
.
get_attribute_or_default
(
"
version
"
,
None
)
self
.
requires
=
self
.
get_attribute_or_default
(
"
requires
"
,
[])
self
.
requires
=
self
.
get_attribute_or_default
(
"
requires
"
,
[])
self
.
requires
=
[
self
.
requires
]
if
not
isinstance
(
self
.
requires
,
list
)
else
self
.
requires
self
.
requires
=
[
self
.
requires
]
if
not
isinstance
(
self
.
requires
,
list
)
else
self
.
requires
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment