Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!1618
update vlass templates for pimscache python3.10 upgrade
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
update vlass templates for pimscache python3.10 upgrade
update-vlass-python
into
main
Overview
0
Commits
30
Pipelines
3
Changes
1
Merged
Charlotte Hausman
requested to merge
update-vlass-python
into
main
1 year ago
Overview
0
Commits
30
Pipelines
3
Changes
1
Expand
Let's make sure pimscache can actually find python3.10 from a workflow...
0
0
Merge request reports
Viewing commit
e899c4d0
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
e899c4d0
Updated signature for current_version to indicate it could return None
· e899c4d0
Daniel Nemergut
authored
1 year ago
shared/workspaces/workspaces/capability/schema.py
+
1
−
1
Options
@@ -1364,7 +1364,7 @@ class CapabilityRequest(JSONSerializable):
return
CapabilityRequest
(
**
copy
)
@property
def
current_version
(
self
)
->
CapabilityVersion
:
def
current_version
(
self
)
->
CapabilityVersion
|
None
:
return
self
.
versions
[
-
1
]
if
len
(
self
.
versions
)
else
None
Loading