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

refactor: File-module reference should use instance #1293

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

bb-mausbrand
Copy link
Contributor

staticmethods in File using File converted to classmethods using cls
external references to File replaced with conf.main_app.file

staticmethods in File using File converted to classmethods using cls
external references to File replaced with conf.main_app.file
change references to file to lambdas to avoid uninitialized conf.main_app
src/viur/core/modules/file.py Outdated Show resolved Hide resolved
@sveneberth sveneberth added Priority: Medium This issue may be useful, and needs some attention. refactoring Pull requests that refactor code but do not change its behavior. labels Oct 22, 2024
@sveneberth sveneberth linked an issue Oct 22, 2024 that may be closed by this pull request
@phorward phorward added this to the ViUR-core v3.8 milestone Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue may be useful, and needs some attention. refactoring Pull requests that refactor code but do not change its behavior.
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

File-module reference should use instance
3 participants