Skip to content
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

Access key check updates #50

Merged
merged 108 commits into from
Jul 16, 2023
Merged

Access key check updates #50

merged 108 commits into from
Jul 16, 2023

Conversation

dmichaels-harvard
Copy link
Contributor

@dmichaels-harvard dmichaels-harvard commented Jun 18, 2023

The main thing here is fix for access key status/refresh check. But bunch of miscellaneous UI related improvements as well.

@@ -0,0 +1,244 @@
import axios from 'axios';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not yet used. It is in progress refactor and just wanted it checked in for safe keeping.

@@ -320,7 +376,9 @@ def reactapi_header(self, request: dict, env: str) -> Response:
if data_portal["ssl_certificate"]:
data_portal["ssl_certificate"]["name"] = "Portal"
data_portal["ssl_certificate"]["exception"] = e
data["timestamp"] = convert_utc_datetime_to_useastern_datetime_string(datetime.datetime.utcnow())
data["timestamp"] = convert_utc_datetime_to_local_datetime_string(datetime.datetime.utcnow())
import tzlocal # xyzzy temporary
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't import in the middle of a function.

Except to avoid circularity, all imports should be at toplevel and at the top of the file, though even the "it avoids a circularity" imports are probably signs something is structured wrong.

@dmichaels-harvard dmichaels-harvard merged commit 1336449 into master Jul 16, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants