mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
add _to_ns to utils
This commit is contained in:
parent
92a3c062a7
commit
87df3a4a04
1 changed files with 4 additions and 0 deletions
|
@ -2837,3 +2837,7 @@ missing_keys_html_form = """
|
|||
</body>
|
||||
</html>
|
||||
"""
|
||||
|
||||
|
||||
def _to_ns(dt):
|
||||
return int(dt.timestamp() * 1e9)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue