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
config.toml
Create config.toml:
[core] rule_dirs = ["rules"]
Create main.py:
main.py
from hrc.core import Core core = Core(hot_reload=True, config_dict={'core': {'rules':['plugins.thePool']}}) if __name__ == '__main__': core.run()
Run code by using pdm run main.py. This will combine both of the config dict and config table.
pdm run main.py
The text was updated successfully, but these errors were encountered:
HsiangNianian
No branches or pull requests
Step 1.
Create
config.toml
:Step 2.
Create
main.py
:step 3.
Run code by using
pdm run main.py
.This will combine both of the config dict and config table.
The text was updated successfully, but these errors were encountered: