string attributes #337

Closed
opened 2023-10-06 14:23:42 +08:00 by sb10q · 1 comment
Owner

Currently this does not work but should:

@nac3
class DMARecordContextManager:
    name: KernelInvariant[str]
    
    def __init__(self):
        self.name = ""
type error inside object launching kernel: error when getting type of field `core_dma` (error when getting type of field `recorder` (error when getting type of field `name` (<class 'str'> is not registered with NAC3 (@nac3 decorator missing?))))
Currently this does not work but should: ``` @nac3 class DMARecordContextManager: name: KernelInvariant[str] def __init__(self): self.name = "" ``` ``` type error inside object launching kernel: error when getting type of field `core_dma` (error when getting type of field `recorder` (error when getting type of field `name` (<class 'str'> is not registered with NAC3 (@nac3 decorator missing?)))) ```
sb10q added this to the Beta milestone 2023-12-19 12:09:33 +08:00
Collaborator

Realized by #416

Realized by #416
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#337
No description provided.