Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork60
Rework on #109#111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Rework on #109#111
Changes fromall commits
5e5374cdb7b7424fa1d5319ce2adbecd3f984763e8File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| import json | ||
| import logging | ||
| import sys | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +0,0 @@ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| import logging | ||
| import sys | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| def is_fastapi_present(): | ||
| # noinspection PyPep8,PyBroadException | ||
| try: | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| import logging | ||
| import json_logging | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| import logging | ||
| import sys | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| import logging | ||
| import logging.config | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,8 @@ | ||
| import logging | ||
| import os | ||
| import re | ||
| import sys | ||
| from datetime import datetime, timezone | ||
| from logging import Logger, StreamHandler | ||
| import json_logging | ||
| @@ -71,7 +70,7 @@ def validate_subclass(subclass, superclass): | ||
| return True | ||
| _epoch = datetime(1970, 1, 1, tzinfo=timezone.utc) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Making For example, # json_logging/formatters.py:61utcnow=datetime.now(timezone.utc).replace(tzinfo=None)...# json_logging/formatters.py:65"written_ts":json_logging.util.epoch_nano_second(utcnow), To fix this, you need to ensure that all callers of | ||
| def epoch_nano_second(datetime_): | ||
| @@ -96,7 +95,7 @@ def currentframe(_no_of_go_up_level): | ||
| return sys.exc_info()[_no_of_go_up_level - 1].tb_frame.f_back | ||
| class RequestUtil: | ||
| """ | ||
| util for extract request's information | ||
| """ | ||
Uh oh!
There was an error while loading.Please reload this page.