Skip to content

Commit 6846300

Browse files
committed
fix: get_pipe_meta function
1 parent 7b130d5 commit 6846300

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Fixed
88
- Correct the contributing documentation. Delete `$ pre-commit run --all-files`recommendation.
99
- Fix the the `Obj Class` in the doc template `class.html`.
10+
- Fix the `get_pipe_meta` function.
1011

1112
## v0.15.0 (2024-12-13)
1213

edsnlp/core/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def get_pipe_meta(self, name: str) -> FactoryMeta:
338338
Dict[str, Any]
339339
"""
340340
pipe = self.get_pipe(name)
341-
return PIPE_META.get(pipe, {})
341+
return PIPE_META.get(pipe, FactoryMeta([], [], False, {}))
342342

343343
def make_doc(self, text: str) -> Doc:
344344
"""

0 commit comments

Comments
 (0)