refactor(processor): unify action imports and enhance type clarity across multiple files

- Updated imports in various files to include RobotAction and PolicyAction directly from the processor module, improving clarity and consistency.
- Removed redundant imports from core, streamlining the codebase and enhancing maintainability.
- Adjusted type annotations and references in the RobotProcessorPipeline and related components to align with the new import structure, ensuring better type safety and readability.
This commit is contained in:
AdilZouitine
2025-09-11 14:24:36 +02:00
parent 376a6457cf
commit aeb70812c1
22 changed files with 31 additions and 31 deletions

View File

@@ -68,6 +68,7 @@ __all__ = [
"create_transition",
"DeviceProcessorStep",
"DoneProcessorStep",
"EnvAction",
"EnvTransition",
"GripperPenaltyProcessorStep",
"hotswap_stats",
@@ -83,11 +84,13 @@ __all__ = [
"NormalizerProcessorStep",
"Numpy2TorchActionProcessorStep",
"ObservationProcessorStep",
"PolicyAction",
"PolicyActionProcessorStep",
"PolicyProcessorPipeline",
"ProcessorKwargs",
"ProcessorStep",
"ProcessorStepRegistry",
"RobotAction",
"RobotActionProcessorStep",
"RenameObservationsProcessorStep",
"RewardClassifierProcessorStep",