Skip to content

Conversation

@romain-intel
Copy link
Contributor

No description provided.

@romain-intel romain-intel changed the base branch from master to fix/support_editable_pkgs_more October 16, 2025 09:52
@romain-intel romain-intel force-pushed the fix/multi_inheritance branch from ad214ed to cc637df Compare October 17, 2025 20:13
Base automatically changed from fix/support_editable_pkgs_more to master October 21, 2025 17:00
Flow decorators were not properly merged in the case of multiple
inheritance. For example:

@project(name="foobar")
class A(FlowSpec):
  pass

class B(A):
  pass

class C(B):
  pass

Would result in the `project` decorator being included twice.

This PR fixes this behavior and should support any arbitrary inheritance
pattern. It also cleans up _flow_state (moving _flow_decorators into it)
and fixes some other corner cases (I think). In particular, configs are now
no longer merged as they are naturally inherited.
@romain-intel romain-intel force-pushed the fix/multi_inheritance branch from cc637df to bd13ddf Compare October 30, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants