Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions compass/scripts/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,12 @@ def known_local_docs(self):
known_local_docs = self.process_kwargs.known_local_docs or {}
if isinstance(known_local_docs, str):
known_local_docs = load_config(known_local_docs)
return {int(key): val for key, val in known_local_docs.items()}
inventory = {int(key): val for key, val in known_local_docs.items()}
logger.trace(
"Loaded known local docs for FIPS codes: %s",
list(inventory.keys()),
)
return inventory

@cached_property
def known_doc_urls(self):
Expand Down Expand Up @@ -855,8 +860,9 @@ async def run(self):
start_time = time.monotonic()
extraction_context = None
logger.info(
"Kicking off processing for jurisdiction: %s",
"Kicking off processing for jurisdiction: %s (%s)",
self.jurisdiction.full_name,
self.jurisdiction.code,
)
try:
extraction_context = await self._run()
Expand Down
Loading