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

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