Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feudalAdapterLDF
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
Container Registry
Model registry
Operate
Environments
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
m-team
feudal
feudalAdapterLDF
Commits
4c03db7c
Commit
4c03db7c
authored
1 year ago
by
Marcus
Browse files
Options
Downloads
Patches
Plain Diff
black
parent
d96d4c3a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!97
Make shadow configurable
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ldf_adapter/feudal_simulator.py
+3
-2
3 additions, 2 deletions
ldf_adapter/feudal_simulator.py
with
3 additions
and
2 deletions
ldf_adapter/feudal_simulator.py
+
3
−
2
View file @
4c03db7c
...
...
@@ -11,6 +11,7 @@ from feudal_globalconfig import globalconfig
from
ldf_adapter
import
User
from
ldf_adapter.cmdline_params
import
args
def
main
():
try
:
data
=
json
.
load
(
sys
.
stdin
)
...
...
@@ -25,9 +26,9 @@ def main():
user
=
User
(
data
)
print
(
F
"
User:
{
user
.
data
.
username
}
"
)
print
(
f
"
User:
{
user
.
data
.
username
}
"
)
for
grp
in
sorted
(
user
.
data
.
groups
):
print
(
F
"
{
grp
}
"
)
print
(
f
"
{
grp
}
"
)
if
__name__
==
"
__main__
"
:
...
...
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