Skip to content

Commit 780ec1a

Browse files
bltravisbtravisebsco
authored andcommitted
Apply some code review fixes
1 parent 8e1c1d6 commit 780ec1a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

docs/source/tasks/inventory_batch_poster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The primary difference is that InventoryBatchPoster uses the `folio_data_import`
5555
```{tip}
5656
`patchPaths` and `upsert=True` for `source=MARC` instances
5757
58-
When performing an `upsert=True` task for instances where some existing instances my be `source=MARC`, if you want to update `staffSuppress`, `discoverySuppress` or `deleted` based on the contents of the incoming record, you will need to add those fields to `patchPaths` in your task configuration.
58+
When performing an `upsert=True` task for instances where some existing instances may be `source=MARC`, if you want to update `staffSuppress`, `discoverySuppress` or `deleted` based on the contents of the incoming record, you will need to add those fields to `patchPaths` in your task configuration.
5959
```
6060
### Object Types
6161

tests/test_marc_reader_wrapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from pymarc.field import Indicators
12
from types import SimpleNamespace
23

34
from pymarc import Field, MARCReader, Record, Subfield
@@ -18,7 +19,7 @@ def add_local_note(
1819
record.add_field(
1920
Field(
2021
tag="590",
21-
indicators=[" ", " "],
22+
indicators=Indicators(*[" ", " "]),
2223
subfields=[Subfield(code="a", value=note_text)],
2324
)
2425
)

0 commit comments

Comments
 (0)