Skip to content

Commit

Permalink
Implement ReferenceParser from JSONParser code abstraction. (#4)
Browse files Browse the repository at this point in the history
* Implement ReferenceParser from JSONParser code abstraction.

* Implement ParsesReferences from latest bsb-core

* Update bsb-core dependency

* Re-add documentation
  • Loading branch information
drodarie authored May 21, 2024
1 parent 1c8b3f8 commit 928c691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bsb_yaml/parser.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import yaml
from bsb import ConfigurationParser
from bsb.config.parsers import ConfigurationParser, ParsesReferences


class YAMLConfigurationParser(ConfigurationParser):
class YAMLConfigurationParser(ParsesReferences, ConfigurationParser):
"""
Parser plugin class to parse YAML configuration files.
"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"]
dynamic = ["version", "description"]
dependencies = ["bsb-core~=4.0", "PyYAML~=6.0"]
dependencies = ["bsb-core~=4.1", "PyYAML~=6.0"]

[project.entry-points."bsb.config.parsers"]
yaml = "bsb_yaml.parser"
Expand Down

0 comments on commit 928c691

Please sign in to comment.