File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 33from __future__ import annotations
44
55import os
6+ import datetime
67from typing import TYPE_CHECKING , Any , Mapping
78from typing_extensions import Self , Literal , override
89
@@ -224,6 +225,7 @@ def default_headers(self) -> dict[str, str | Omit]:
224225 ** super ().default_headers ,
225226 "x-language" : "python" ,
226227 "x-sdk-version" : __version__ ,
228+ "x-sent-at" : datetime .datetime .now ().isoformat (),
227229 "X-Stainless-Async" : "false" ,
228230 ** self ._custom_headers ,
229231 }
@@ -514,6 +516,7 @@ def default_headers(self) -> dict[str, str | Omit]:
514516 ** super ().default_headers ,
515517 "x-language" : "python" ,
516518 "x-sdk-version" : __version__ ,
519+ "x-sent-at" : datetime .datetime .now ().isoformat (),
517520 "X-Stainless-Async" : f"async:{ get_async_library ()} " ,
518521 ** self ._custom_headers ,
519522 }
You can’t perform that action at this time.
0 commit comments