Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
labRemote
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
scipp
pixels
labRemote
Commits
419e9610
Verified
Commit
419e9610
authored
4 years ago
by
Giordon Holtsberg Stark
Browse files
Options
Downloads
Patches
Plain Diff
add utility for extracting paths
parent
4bb5a0d4
No related branches found
No related tags found
No related merge requests found
Pipeline
#5224608
passed
2 years ago
Stage: build
Stage: package
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/labRemote/__init__.py
+11
-1
11 additions, 1 deletion
src/labRemote/__init__.py
src/labRemote/utils.py
+13
-0
13 additions, 0 deletions
src/labRemote/utils.py
with
24 additions
and
1 deletion
src/labRemote/__init__.py
+
11
−
1
View file @
419e9610
from
._labRemote
import
com
,
ec
,
ps
,
datasink
,
devcom
,
chiller
__all__
=
[
'
com
'
,
'
ec
'
,
'
ps
'
,
'
datasink
'
,
'
devcom
'
,
'
chiller
'
]
from
labRemote
import
utils
__all__
=
[
"
com
"
,
"
ec
"
,
"
ps
"
,
"
datasink
"
,
"
devcom
"
,
"
chiller
"
,
"
utils
"
,
]
This diff is collapsed.
Click to expand it.
src/labRemote/utils.py
0 → 100644
+
13
−
0
View file @
419e9610
import
pathlib
import
pkg_resources
def
get_schema
():
return
pkg_resources
.
resource_filename
(
__name__
,
str
(
pathlib
.
Path
(
"
share
"
).
joinpath
(
__name__
,
"
schema
"
,
"
labremote_config_schema.json
"
)
),
)
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