Skip to content

Commit

Permalink
Remove importlib dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaelman authored and jrudz committed Dec 13, 2024
1 parent 1233c66 commit bc06fd1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions simulationworkflowschema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@ def load_modules():
'photon_polarization',
'thermodynamics',
]
import simulationworkflowschema

for name in sub_modules:
sub_module = importlib.import_module(f'simulationworkflowschema.{name}')
for method in sub_module.__dict__:
if method in __all__:
setattr(simulationworkflowschema, method, sub_module.__dict__[method])


class SimulationWorkflowSchemaEntryPoint(SchemaPackageEntryPoint):
Expand Down

0 comments on commit bc06fd1

Please sign in to comment.