Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docstring for all classes and methods.
Fix bug with docs generator
- Loading branch information
Showing
12 changed files
with
589 additions
and
93 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
""" | ||
Welcome to the Resin Python SDK documentation. | ||
This document aims to describe all the functions supported by the SDK, as well as | ||
showing examples of their expected usage. | ||
If you feel something is missing, not clear or could be improved, please don't | ||
hesitate to open an issue in GitHub, we'll be happy to help. | ||
""" | ||
|
||
from .base_request import BaseRequest | ||
from .auth import Auth | ||
from .token import Token | ||
from .logs import Logs | ||
from .settings import Settings | ||
from .models import Models | ||
|
||
class Resin(object): | ||
""" | ||
This class implements all functions supported by the Python SDK. | ||
Attributes: | ||
settings (Settings): configuration settings for Resin Python SDK. | ||
logs (Logs): logs from devices working on Resin. | ||
auth (Auth): authentication handling. | ||
models (Models): all models in Resin Python SDK. | ||
""" | ||
|
||
def __init__(self): | ||
self.settings = Settings() | ||
self.logs = Logs() | ||
self.auth = Auth() | ||
self.models = Models() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.