Custom Modules
Custom Modules allow you to implement specialized business logic and unique data transformations using your own Python code.
What are Custom Modules?
Custom Modules are user-defined Modules that give you complete control over Component generation and relationships. While Ascend-native Modules use pre-built patterns, Custom Modules require you to write your own implementation using custom Python code in your Projects.
How Custom Modules work
Custom Modules operate by:
- Writing custom Python definitions that implement your specific business logic
- Accepting parameters through YAML configuration files
- Programmatically generating Module Components based on your custom logic
- Orchestrating these Components into an integrated, functional Flow Graph
Custom Modules vs. Ascend-native Modules
Choose Custom Modules when:
- You need specialized logic that goes beyond what Ascend-native Modules provide
- You require precise control over Component generation and relationships
- You want to implement proprietary business logic or unique data transformations
Choose Ascend-native Modules when:
- You need to implement standard patterns with minimal setup time
- Your requirements align with built-in Ascend-native Modules
- You prefer configuration-based solutions over custom code development
Ready to build a Custom Module? Check out our guide for a step-by-step walkthrough.