Skip to content

Decide on add_alias API #196

@epage

Description

@epage

An unresolved item from #169 was how add_alias should adapt to the file type being used or not.

From the issue:

I think we talked about defaulting default_baud_rate to None.

  • If its None and a file type that doesn't need it, we just pass 0.
  • If its None and is file type that needs it, we throw.
  • If its not None and a file type that doesn't need it, we error.

Granted, there are pros/cons to this. I'm still torn on it myself.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions