Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
girodav committed Nov 23, 2023
1 parent 74495f8 commit e0d4720
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion share/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ def get_hex_prefix(src: str) -> str:

def create_user_agent() -> str:
"""Creates the 'User-Agent' header given the library name and version"""
return f"ElasticServerlessForwarder/{version} ({os.getenv('AWS_EXECUTION_ENV')}; OTHER)"
# AWS_EXECUTION_ENV – The runtime identifier, prefixed by AWS_Lambda_ (for example, AWS_Lambda_Python3.9).
return f"ElasticServerlessForwarder/{version} ({os.getenv('AWS_EXECUTION_ENV')})"

0 comments on commit e0d4720

Please sign in to comment.