Skip to content

Commit

Permalink
Remove importlib dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaelman committed Nov 21, 2024
1 parent 1cd849d commit b39a01c
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 b39a01c

Please sign in to comment.