Skip to content

ENH: have functions return namedtuple / dataclasses / attrs class instances? #3

Open

Description

@NickleDave

i.e. a notmat type with onsets_s and offsets_s fields, a rec_file type with is_catch fields, etc.?

Activity

  1. NickleDave commented on Jan 12, 2021

    @NickleDave
    OwnerAuthor

    e.g. using namedtuple or dataclasses or attrs

    starts to feel like overkill though

  2. changed the title [-]Have data types for what is returned by functions?[/-] [+]have functions return namedtuple / dataclasses / attrs class instances?[/+] on Jan 12, 2021
  3. added
    enhancement
    on Mar 17, 2022
  4. changed the title [-]have functions return namedtuple / dataclasses / attrs class instances?[/-] [+]ENH: have functions return namedtuple / dataclasses / attrs class instances?[/+] on Mar 17, 2022
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions