Skip to content

Commit

Permalink
Fix EnvBaseMixins issues when subclassing with other generics
Browse files Browse the repository at this point in the history
  • Loading branch information
rpmcginty committed Oct 30, 2024
1 parent 94701eb commit 2e2e847
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aibs_informatics_core/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ def _env_base_class(cls) -> Type[E]:


class EnvBaseMixins(EnvBaseMixinsBase[EnvBase]):
pass
@classmethod
def _env_base_class(cls) -> Type[EnvBase]:
return EnvBase


class EnvBaseEnumMixins:
Expand Down

0 comments on commit 2e2e847

Please sign in to comment.