Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
♻️ Attempt revealing metaclass functions
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Jul 10, 2024
1 parent a839387 commit 8bfac5a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lnschema_core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,13 @@ def __new__(cls, name, bases, attrs, **kwargs):
delattr(new_class, name)
return new_class

# def __dir__(cls):
# result = type.__dir__(cls)
# for attr in dir(cls):
# if not attr.startswith("__"):
# result.append(attr)
# return result

def from_values(
cls,
values: ListLike,
Expand Down

0 comments on commit 8bfac5a

Please sign in to comment.