You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repeated capability accessors like Session.channels and Session.instruments return a _SessionBase object. Clients that pass channel objects around may need to refer to this type in PEP 484 type hints.
Description of issue
Repeated capability accessors like
Session.channels
andSession.instruments
return a_SessionBase
object. Clients that pass channel objects around may need to refer to this type in PEP 484 type hints.Example: https://github.com/ni/measurementlink-python/blob/9bffe48c1c2da4777eeca0ca159b74bde724ead6/examples/output_voltage_measurement/measurement.py#L177
The convention recommended in PEP8 and used by most Python code is that names with a single leading underscore are for internal use.
In general, public APIs ought to use public types.
System report
Not applicable.
Steps to reproduce issue
The text was updated successfully, but these errors were encountered: