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
Being a dumb/occasional user of Python, I would like to suggest self contained examples like for example enhancing
the from_file() in traffic/core/mixins.py from
Example usage:
>>> t = Traffic.from_file("data/sample_opensky.pkl")
to
Example usage:
>>> from traffic.core import Traffic
>>> t = Traffic.from_file("data/sample_opensky.pkl")
Similarly for other parts of the library implementing a from_file() method, like SO6 (from traffic.data) or Decoder (from traffic.data.decode)...
Suggesting this because I resolve to searching/browsing the source code every time... ;-)
The text was updated successfully, but these errors were encountered:
Being a dumb/occasional user of Python, I would like to suggest self contained examples like for example enhancing
the
from_file()
intraffic/core/mixins.py
fromto
Similarly for other parts of the library implementing a
from_file()
method, likeSO6
(fromtraffic.data
) orDecoder
(fromtraffic.data.decode
)...Suggesting this because I resolve to searching/browsing the source code every time... ;-)
The text was updated successfully, but these errors were encountered: