Skip to content

Refactor dynamic class generation#5

Open
Ckemplen wants to merge 1 commit intomasterfrom
codex/refactor-class-creation-with-string-templates
Open

Refactor dynamic class generation#5
Ckemplen wants to merge 1 commit intomasterfrom
codex/refactor-class-creation-with-string-templates

Conversation

@Ckemplen
Copy link
Owner

Summary

  • rewrite create_and_save_capability_class and create_and_save_resource_class to use template strings
  • generate standard __init__ methods for saved classes
  • return generated file path from creation helpers
  • add unit tests ensuring saved classes can be imported

Testing

  • pytest capability_manager/test_capabilities.py resource_manager/test_resources.py -q

https://chatgpt.com/codex/tasks/task_e_68503a94f34c83259f47ccb97316ac00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant