Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
batsim
pybatsim
Commits
bf28b65a
Verified
Commit
bf28b65a
authored
Jan 04, 2022
by
Raphaël Bleuse
Browse files
Remove import * statements
parent
64fc7c7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
batsim/sched/__init__.py
View file @
bf28b65a
...
...
@@ -6,26 +6,9 @@
"""
from
.scheduler
import
*
from
.job
import
*
from
.resource
import
*
from
.profiles
import
*
from
.alloc
import
*
from
.workloads
import
*
__all__
=
[
"Scheduler"
,
"as_scheduler"
,
"Job"
,
"Jobs"
,
"ComputeResource"
,
"Resource"
,
"Resources"
,
"ResourceRequirement"
,
"Profiles"
,
"Profile"
,
"Allocation"
,
"JobDescription"
,
"WorkloadDescription"
,
"generate_workload"
,
]
from
.alloc
import
Allocation
from
.job
import
Job
,
Jobs
from
.profiles
import
Profile
,
Profiles
from
.resource
import
ComputeResource
,
Resource
,
ResourceRequirement
,
Resources
from
.scheduler
import
Scheduler
,
as_scheduler
from
.workloads
import
JobDescription
,
WorkloadDescription
,
generate_workload
batsim/sched/workloads/__init__.py
View file @
bf28b65a
...
...
@@ -6,10 +6,4 @@
"""
from
.workloads
import
*
__all__
=
[
"JobDescription"
,
"WorkloadDescription"
,
"generate_workload"
,
]
from
.workloads
import
JobDescription
,
WorkloadDescription
,
generate_workload
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment