Skip to content

Conversation

@Bre77
Copy link
Member

@Bre77 Bre77 commented Mar 11, 2025

Add documentation for public methods in TeslemetryStream and TeslemetryStreamVehicle classes.

  • README.md

    • Add a section listing all public methods in the TeslemetryStream class.
    • Add a section listing all public methods in the TeslemetryStreamVehicle class.
  • teslemetry_stream/stream.py

    • Add docstrings to all public methods in the TeslemetryStream class, including __init__, get_vehicle, connected, get_config, find_server, update_fields, replace_fields, config, connect, close, __aiter__, __anext__, async_add_listener, listen, listen_Credits, and listen_Balance.
    • Add docstring to the recursive_match function.

For more details, open the Copilot Workspace session.

Bre77 added 2 commits March 11, 2025 21:30
Add documentation for public methods in `TeslemetryStream` and `TeslemetryStreamVehicle` classes.

* **README.md**
  - Add a section listing all public methods in the `TeslemetryStream` class.
  - Add a section listing all public methods in the `TeslemetryStreamVehicle` class.

* **teslemetry_stream/stream.py**
  - Add docstrings to all public methods in the `TeslemetryStream` class, including `__init__`, `get_vehicle`, `connected`, `get_config`, `find_server`, `update_fields`, `replace_fields`, `config`, `connect`, `close`, `__aiter__`, `__anext__`, `async_add_listener`, `listen`, `listen_Credits`, and `listen_Balance`.
  - Add docstring to the `recursive_match` function.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Teslemetry/python-teslemetry-stream?shareId=XXXX-XXXX-XXXX-XXXX).
…lemetryStreamVehicle` classes

* **TeslemetryStream Class**
  - Add section explaining all public methods with brief descriptions.

* **TeslemetryStreamVehicle Class**
  - Add section explaining all public methods except `listen_*` methods.
  - List `listen_*` methods with their callback types.
@Bre77 Bre77 merged commit 2084ec3 into Bre77/update-readme Mar 11, 2025
3 checks passed
@Bre77 Bre77 deleted the Bre77/add-docstrings branch March 11, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants