b7ff0137b1
* Add project configuration and refactor logic - Created .gitignore to exclude IDE files. - Added project module configuration for Python. - Set up inspection profiles for code quality checks. - Refactored main function logic into separate modules for better organisation. - Introduced helper functions for object manipulation and rule processing. - Implemented spreadsheet reading functionality to dynamically load rules. - Added tests for integration with the Speckle server. * Add developer guide - Introduced a new developer README with setup, project structure, testing, and deployment instructions. - Revised the primary README to reflect changes in functionality and usage instructions for the Checker function.
16 lines
379 B
Python
16 lines
379 B
Python
from speckle_automate import (
|
|
execute_automate_function,
|
|
)
|
|
|
|
|
|
from src.function import automate_function
|
|
from src.inputs import FunctionInputs
|
|
|
|
|
|
# make sure to call the function with the executor
|
|
if __name__ == "__main__":
|
|
# NOTE: always pass in the automate function by its reference; do not invoke it!
|
|
|
|
|
|
execute_automate_function(automate_function, FunctionInputs)
|