chore(BA-469): Rename variables api_rqst
to api_request
for clarity
#3404
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Jira ticket: BA-469
This pull request focuses on renaming the variable
api_rqst
toapi_request
across multiple files to improve code readability and maintain consistency. The changes are primarily in functions handling web requests and responses.Variable renaming for consistency:
src/ai/backend/client/cli/app.py
: Renamedapi_rqst
toapi_request
in therun
method.src/ai/backend/client/cli/proxy.py
: Renamedapi_rqst
toapi_request
in theweb_handler
andwebsocket_handler
methods. [1] [2]src/ai/backend/client/cli/session/app.py
: Renamedapi_rqst
toapi_request
in therun
method.src/ai/backend/client/func/session.py
: Renamedapi_rqst
toapi_request
in thestream_app_info
method.src/ai/backend/web/proxy.py
: Renamedapi_rqst
toapi_request
in multiple methods includingweb_handler
,web_plugin_handler
, andwebsocket_handler
. [1] [2] [3] [4] [5]Checklist: (if applicable)
Refs
X-BackendAI-SSO
header for pipeline service authentication #3353 (comment)