DeepCAVE icon indicating copy to clipboard operation
DeepCAVE copied to clipboard

Recorder doesn't allow dict configs even though signature says so

Open TheEimer opened this issue 1 year ago • 1 comments

Because the ID is used as a dict key, the config can't be a dictonary in the recorder. Typing says otherwise and the error isn't very clear, this should be checked and also dict removed from the types.

TheEimer avatar Nov 01 '23 10:11 TheEimer

I deleted the Type Hint in the signature, indicating that is if fine if the config is a dict (in the bug/pre-commit branch). It only accepts Configurations now.

KrissiHub avatar Nov 06 '23 15:11 KrissiHub