Closed jakebeal closed 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
List[str]
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")
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]
, notstr
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")