mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-22 19:05:14 -04:00
rename plugins_sys base to config
This commit is contained in:
parent
e8f1264954
commit
2d19317e3f
4 changed files with 6 additions and 6 deletions
archivebox/plugantic
|
@ -84,7 +84,7 @@ class BasePlugin(BaseModel):
|
|||
# preserve references to original default objects,
|
||||
# pydantic deepcopies them by default which breaks mutability
|
||||
# see https://github.com/pydantic/pydantic/issues/7608
|
||||
# if we dont do this, then plugins_sys.base.CORE_CONFIG != settings.CONFIGS.CoreConfig for example
|
||||
# if we dont do this, then plugins_extractor.SINGLEFILE_CONFIG != settings.CONFIGS.SingleFileConfig for example
|
||||
# and calling .__init__() on one of them will not update the other
|
||||
self.hooks = self.model_fields['hooks'].default
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue