We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently py-skygear does the following in order before accepting requests from plugin transport:
The desired order should be:
In the desired order, the settings is available to module in includeme.
includeme
The text was updated successfully, but these errors were encountered:
Here is the example code that I comfirm the behaviour
at __init__.py
__init__.py
import os import skygear from skygear.settings import settings settings.injectsettings.t = 'Code over ride' skygear.config('injectsettings')
At injectsettings/__init__.py
injectsettings/__init__.py
from skygear.settings import add_parser, SettingsParser s = SettingsParser('INJECT_SETTINGS') s.add_setting('t', default='default t') add_parser('injectsettings', s) def includeme(s): print(s.injectsettings.t)
When I run INJECT_SETTINGS_T=portalvalue py-skygear injectsettings __init__.py
INJECT_SETTINGS_T=portalvalue py-skygear injectsettings __init__.py
Expected result Code over ride
Code over ride
Actual result (at 1.4.0) portalvalue
portalvalue
Developer want to override forgot password html template for beautiful design.
Sorry, something went wrong.
No branches or pull requests
Currently py-skygear does the following in order before accepting requests from plugin transport:
The desired order should be:
In the desired order, the settings is available to module in
includeme
.The text was updated successfully, but these errors were encountered: