Skip to content

Commit

Permalink
run ci/cd again for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-jaff committed Nov 26, 2024
1 parent 0b15662 commit dcea31e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,11 @@ def _init_kwargs_for_pass_through_endpoint(


def _update_metadata_with_tags_in_header(request: Request, metadata: dict) -> dict:
"""
If tags are in the request headers, add them to the metadata
Used for google and vertex JS SDKs
"""
_tags = request.headers.get("tags")
if _tags:
metadata["tags"] = _tags.split(",")
Expand Down

0 comments on commit dcea31e

Please sign in to comment.