SynBioDex / pySBOL3

Native python implementation of SBOL 3.0 specification
MIT License
37 stars 16 forks source link

Interface constructor typing should be lists, not singletons #315

Closed jakebeal closed 3 years ago

jakebeal commented 3 years ago

Although the constructor for Interface objects correctly works with list values for input, output, and non-directional, the typing of the constructor incorrectly identifies them as optional singletons. Type should be List[str], not str

https://github.com/SynBioDex/pySBOL3/blob/8e09bd5933e59f6dc89532c317ad300561155f74/sbol3/interface.py#L13-L14

Their names should likewise change to be plural (i.e., "inputs" instead of "input")