-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update deprecated utcnow, utcfromtimestamp #2286
Conversation
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
Thanks for the PR, @salty-horse ! Could you link to the docs to which you refer that need updating? |
The epy-generated docs for the two files I changed, which mention the old value of
|
I filed #2300 to track the issue with the outdated docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete @briandorsey
@@ -46,7 +46,7 @@ | |||
LOGGER = logging.getLogger(__name__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**
**
@@ -2193,7 +2193,7 @@ def _dummy_token(self): | |||
client_id = "some_client_id" | |||
client_secret = "cOuDdkfjxxnv+" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
client_secret = "cOuDdkfjxxnv+" | |
client_secret = "cOuDdkfjxxnv+"`` |
@@ -2193,7 +2193,7 @@ def _dummy_token(self): | |||
client_id = "some_client_id" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #2285 🦕
The docs should be regenerated, since they mention the
EPOCH
constants. I'm not sure how to do that :(