Skip to content

refactor: use session class in worldpop#117

Merged
Thuhaa merged 4 commits intomainfrom
feat/download
Jan 21, 2025
Merged

refactor: use session class in worldpop#117
Thuhaa merged 4 commits intomainfrom
feat/download

Conversation

@Thuhaa
Copy link
Contributor

@Thuhaa Thuhaa commented Jan 20, 2025

The following implementation is done in this PR. Checked tasks means the task is completed.

  1. Remove usage of AzureBlobStorageManager class to use Session in the worldpop.py

When this is done, issues #114 will be closed

@Thuhaa Thuhaa temporarily deployed to github container registry January 20, 2025 18:22 — with GitHub Actions Inactive
@Thuhaa Thuhaa temporarily deployed to azure container registry January 20, 2025 18:22 — with GitHub Actions Inactive
@Thuhaa Thuhaa changed the title refactor: use session class in worldpop.py file refactor: use session class in worldpop Jan 20, 2025
@Thuhaa Thuhaa temporarily deployed to github container registry January 20, 2025 18:40 — with GitHub Actions Inactive
@Thuhaa Thuhaa temporarily deployed to azure container registry January 20, 2025 18:40 — with GitHub Actions Inactive
@Thuhaa Thuhaa marked this pull request as ready for review January 21, 2025 07:38
@Thuhaa Thuhaa requested a review from JinIgarashi January 21, 2025 07:40
@Thuhaa Thuhaa self-assigned this Jan 21, 2025
@Thuhaa Thuhaa temporarily deployed to github container registry January 21, 2025 08:41 — with GitHub Actions Inactive
@Thuhaa Thuhaa temporarily deployed to azure container registry January 21, 2025 08:41 — with GitHub Actions Inactive
@Thuhaa Thuhaa requested a review from JinIgarashi January 21, 2025 08:41
@Thuhaa Thuhaa temporarily deployed to github container registry January 21, 2025 09:22 — with GitHub Actions Inactive
@Thuhaa Thuhaa temporarily deployed to azure container registry January 21, 2025 09:22 — with GitHub Actions Inactive
Copy link
Contributor

@JinIgarashi JinIgarashi left a comment

Choose a reason for hiding this comment

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

@Thuhaa looks good. is AzureBlobStorageManager class (blob_storage.py) no longer used anywhere? if so, you can delete it. also delete AZURE_STORAGE_CONNECTION_STRING variable from .env.example if no need anymore

@Thuhaa Thuhaa temporarily deployed to github container registry January 21, 2025 10:17 — with GitHub Actions Inactive
@Thuhaa Thuhaa temporarily deployed to azure container registry January 21, 2025 10:17 — with GitHub Actions Inactive
@Thuhaa Thuhaa temporarily deployed to github container registry January 21, 2025 10:38 — with GitHub Actions Inactive
@Thuhaa Thuhaa temporarily deployed to azure container registry January 21, 2025 10:38 — with GitHub Actions Inactive
@Thuhaa Thuhaa linked an issue Jan 21, 2025 that may be closed by this pull request
4 tasks
@Thuhaa Thuhaa merged commit 1f625c3 into main Jan 21, 2025
3 checks passed
@Thuhaa Thuhaa deleted the feat/download branch January 21, 2025 10:42
iferencik pushed a commit that referenced this pull request Apr 10, 2025
* refactor: use session class in worldpop.py file

* remove hardcoded container name to use one in config

* refactor: use context manager to access blob_service_client

* cleanup .env.example and remove azure module
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.

[REFACTOR] Implement Population Module to use Session Class AttributeError: 'NoneType' object has no attribute 'rstrip' error

2 participants