Skip to content

Make it fail if assigning unknown attributes #36

Description

@HeMan

It fails fine when instantiating an object with unknow attribute but not when assigning it. Like:

class Temp(BinmapDataClass):
    temp: signedchar = 0

t = Temp(hum=40)

but not

t = Temp()
t.hum = 40

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions