FitRequest#
- class fitrequest.client.FitRequest(username: str | None = None, password: str | None = None)[source]#
Bases:
FitRequestBaseThis class serves as a configuration for declaring
fitrequestmethods, providing an alternative to directly usingFitConfig. It allows you to use the@fitdecorator to define these methods.Keep in mind that the attributes
method_docstringandmethod_config_listare exclusively for generating methods. These attributes are discarded during the final class generation.Attributes like
client_name,version,base_url, andauthare transformed into read-only properties.- client_name: str#
- version: str#
- base_url: str#
- auth: dict | None#
- method_config_list: list[dict]#
- method_docstring: str#