tofupilot 2.26.2__tar.gz → 2.26.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tofupilot-2.26.2 → tofupilot-2.26.4}/PKG-INFO +7 -1
- {tofupilot-2.26.2 → tofupilot-2.26.4}/README.md +6 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/pyproject.toml +1 -1
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/__init__.py +5 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/openhtf/__init__.py +4 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/client_with_error_tracking.py +11 -1
- {tofupilot-2.26.2 → tofupilot-2.26.4}/LICENSE +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/py.typed +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/banner.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/error_tracking.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/openhtf/tofupilot.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/openhtf/upload.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/telemetry_config.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/client.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/constants/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/constants/attachments.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/constants/requests.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/models/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/models/models.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/pyproject.toml +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/responses/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/responses/responses.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/utils/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/utils/dates.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/utils/files.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/utils/logger.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v1/utils/network.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/_hooks/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/_hooks/sdkhooks.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/_hooks/types.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/_version.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/attachments.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/basesdk.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/batches.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/deployments.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/apierror.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errorbadgateway.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errorbadrequest.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errorconflict.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errorforbidden.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errorinternalservererror.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errornotfound.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errortimeout.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errorunauthorized.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/errorunprocessablecontent.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/no_response_error.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/responsevalidationerror.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/errors/tofupiloterror.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/httpclient.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/identity.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/imports.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/logs.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/measurements_sdk.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/attachment_finalizeop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/attachment_initializeop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/batch_createop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/batch_deleteop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/batch_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/batch_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/batch_updateop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/deployment_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/deployment_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errorbadgateway.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errorbadrequest.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errorconflict.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errorforbidden.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errorinternalservererror.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errornotfound.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errortimeout.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errorunauthorized.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/errorunprocessablecontent.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/identity_whoamiop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/import_structuredop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/import_tabularop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/log_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/log_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/measurement_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/measurement_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_createop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_createrevisionop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_deleteop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_deleterevisionop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_getrevisionop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_updateop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/part_updaterevisionop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/phase_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/phase_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/procedure_createop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/procedure_createversionop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/procedure_deleteop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/procedure_deleteversionop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/procedure_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/procedure_getversionop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/procedure_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/procedure_updateop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/run_createattachmentop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/run_createop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/run_deleteop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/run_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/run_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/run_updatemetadataop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/run_updateop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/security.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/station_createop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/station_getcurrentop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/station_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/station_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/station_removeop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/station_updateop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_addchildop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_createattachmentop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_createop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_deleteattachmentop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_deleteop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_getop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_removechildop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/unit_updateop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/user_getcurrentop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/models/user_listop.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/parts.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/phases_sdk.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/procedures.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/py.typed +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/pyproject.toml +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/revisions.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/runs.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/sdk.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/sdkconfiguration.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/stations.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/types/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/types/basemodel.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/units_sdk.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/users.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/__init__.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/annotations.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/datetimes.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/enums.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/eventstreaming.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/forms.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/headers.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/logger.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/metadata.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/queryparams.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/requestbodies.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/retries.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/security.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/serializers.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/unmarshal_json_response.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/url.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/utils/values.py +0 -0
- {tofupilot-2.26.2 → tofupilot-2.26.4}/tofupilot/v2/versions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tofupilot
|
|
3
|
-
Version: 2.26.
|
|
3
|
+
Version: 2.26.4
|
|
4
4
|
Summary: Official Python client for TofuPilot with OpenHTF integration and file attachment support
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -47,6 +47,12 @@ Description-Content-Type: text/markdown
|
|
|
47
47
|
|
|
48
48
|
The official Python SDK for [TofuPilot](https://tofupilot.com). Integrate your hardware test runs into one app with just a few lines of Python.
|
|
49
49
|
|
|
50
|
+
## Writing a new test procedure?
|
|
51
|
+
|
|
52
|
+
Use the TofuPilot Framework, not this package: install the [TofuPilot CLI](https://www.tofupilot.com/docs/cli) and run `tofupilot init` in an empty folder. It writes a `procedure.yaml` with Python phases and a mock plug that run offline, plus an `AGENTS.md` that tells coding agents how to validate, run and debug it with the CLI (`tofupilot docs`, `tofupilot validate --json`, `tofupilot run --json`).
|
|
53
|
+
|
|
54
|
+
This SDK is for sending runs from code you already have: the TofuPilot REST API, and the OpenHTF integration below.
|
|
55
|
+
|
|
50
56
|
## Installation
|
|
51
57
|
|
|
52
58
|
```bash
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
The official Python SDK for [TofuPilot](https://tofupilot.com). Integrate your hardware test runs into one app with just a few lines of Python.
|
|
8
8
|
|
|
9
|
+
## Writing a new test procedure?
|
|
10
|
+
|
|
11
|
+
Use the TofuPilot Framework, not this package: install the [TofuPilot CLI](https://www.tofupilot.com/docs/cli) and run `tofupilot init` in an empty folder. It writes a `procedure.yaml` with Python phases and a mock plug that run offline, plus an `AGENTS.md` that tells coding agents how to validate, run and debug it with the CLI (`tofupilot docs`, `tofupilot validate --json`, `tofupilot run --json`).
|
|
12
|
+
|
|
13
|
+
This SDK is for sending runs from code you already have: the TofuPilot REST API, and the OpenHTF integration below.
|
|
14
|
+
|
|
9
15
|
## Installation
|
|
10
16
|
|
|
11
17
|
```bash
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
"""TofuPilot Python Client Library.
|
|
2
2
|
|
|
3
|
+
Writing a new test procedure? Use the TofuPilot Framework instead: install
|
|
4
|
+
the TofuPilot CLI (https://www.tofupilot.com/docs/cli) and run
|
|
5
|
+
`tofupilot init`. It writes a procedure.yaml, Python phases, a mock plug and
|
|
6
|
+
an AGENTS.md for coding agents; `tofupilot docs` holds the documentation.
|
|
7
|
+
|
|
3
8
|
This package provides both v1 and v2 API clients:
|
|
4
9
|
- v1: Legacy client for backward compatibility
|
|
5
10
|
- v2: Current SDK with enhanced features and error tracking
|
|
@@ -6,6 +6,10 @@ the test finishes.
|
|
|
6
6
|
|
|
7
7
|
`TofuPilot` is a deprecated context manager kept for existing bench scripts;
|
|
8
8
|
it wraps that same callback and warns on use.
|
|
9
|
+
|
|
10
|
+
For a new test procedure, use the TofuPilot Framework rather than OpenHTF:
|
|
11
|
+
install the TofuPilot CLI (https://www.tofupilot.com/docs/cli) and run
|
|
12
|
+
`tofupilot init`.
|
|
9
13
|
"""
|
|
10
14
|
|
|
11
15
|
from ..error_tracking import ApiV1Error
|
|
@@ -14,6 +14,16 @@ from .errors.tofupiloterror import TofuPilotError
|
|
|
14
14
|
from ._hooks.types import BeforeRequestContext, BeforeRequestHook
|
|
15
15
|
from ._version import __version__
|
|
16
16
|
|
|
17
|
+
import importlib.metadata as _metadata
|
|
18
|
+
|
|
19
|
+
# `_version.__version__` asks importlib for the `tofupilot.v2` distribution,
|
|
20
|
+
# which does not exist: it falls back to the generator's own version. The
|
|
21
|
+
# version users install and report is the `tofupilot` package's.
|
|
22
|
+
try:
|
|
23
|
+
_CLIENT_VERSION = _metadata.version("tofupilot")
|
|
24
|
+
except _metadata.PackageNotFoundError:
|
|
25
|
+
_CLIENT_VERSION = __version__
|
|
26
|
+
|
|
17
27
|
|
|
18
28
|
def _enhance_error_message(e: TofuPilotError) -> None:
|
|
19
29
|
"""Enhance a TofuPilotError with validation issue details before re-raising."""
|
|
@@ -216,7 +226,7 @@ class _ClientInfoHook(BeforeRequestHook):
|
|
|
216
226
|
self, hook_ctx: BeforeRequestContext, request: _httpx.Request
|
|
217
227
|
):
|
|
218
228
|
request.headers["x-client-type"] = "python"
|
|
219
|
-
request.headers["x-client-version"] =
|
|
229
|
+
request.headers["x-client-version"] = _CLIENT_VERSION
|
|
220
230
|
return request
|
|
221
231
|
|
|
222
232
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|