Skip to content

Commit 577274d

Browse files
committed
fix import
1 parent d1ba047 commit 577274d

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

commonmeta/writers/citation_writer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
)
1313
from citeproc.source.json import CiteProcJSON
1414
from citeproc_styles import get_style_filepath
15-
from pydash import py_
15+
16+
from ..base_utils import omit
1617

1718

1819
def write_citation(metadata):
@@ -41,7 +42,7 @@ def write_citation_item(metadata):
4142
csl = json.loads(metadata.write(to="csl"))
4243

4344
# Remove keys that are not supported by citeproc-py.
44-
csl = py_.omit(csl, "copyright", "categories")
45+
csl = omit(csl, "copyright", "categories")
4546
return CiteProcJSON([csl])
4647

4748

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)