Skip to content

Commit

Permalink
docs: clarify invalid_json_count
Browse files Browse the repository at this point in the history
  • Loading branch information
yolile authored and jpmckinney committed Jan 23, 2025
1 parent 8d5a313 commit 311b62b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data_registry/migrations/0060_alter_job_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Migration(migrations.Migration):
field=models.JSONField(
blank=True,
default=dict,
help_text="<dl><dt><code>spider</code></dt><dd>The name of the spider in Kingfisher Collect</dd><dt><code>data_version</code></dt><dd>The data version of the crawl in Kingfisher Collect</dd><dt><code>job_id</code></dt><dd>The ID of the job in Scrapyd</dd><dt><code>scrapy_log</code></dt><dd>A local URL to the log file of the crawl in Scrapyd</dd><dt><code>item_dropped_count</code></dt><dd>The number of items dropped by the crawl</dd><dt><code>invalid_json_count</code></dt><dd>The number of invalid JSON files dropped by the crawl</dd><dt><code>process_id</code></dt><dd>The ID of the base collection in Kingfisher Process</dd><dt><code>process_id_pelican</code></dt><dd>The ID of the compiled collection in Kingfisher Process</dd><dt><code>pelican_id</code></dt><dd>The ID of the dataset in Pelican</dd><dt><code>pelican_dataset_name</code></dt><dd>The name of the dataset in Pelican</dd></dl>",
help_text="<dl><dt><code>spider</code></dt><dd>The name of the spider in Kingfisher Collect</dd><dt><code>data_version</code></dt><dd>The data version of the crawl in Kingfisher Collect</dd><dt><code>job_id</code></dt><dd>The ID of the job in Scrapyd</dd><dt><code>scrapy_log</code></dt><dd>A local URL to the log file of the crawl in Scrapyd</dd><dt><code>item_dropped_count</code></dt><dd>The number of items dropped by the crawl</dd><dt><code>invalid_json_count</code></dt><dd>The number of invalid JSON items dropped by the crawl</dd><dt><code>process_id</code></dt><dd>The ID of the base collection in Kingfisher Process</dd><dt><code>process_id_pelican</code></dt><dd>The ID of the compiled collection in Kingfisher Process</dd><dt><code>pelican_id</code></dt><dd>The ID of the dataset in Pelican</dd><dt><code>pelican_dataset_name</code></dt><dd>The name of the dataset in Pelican</dd></dl>",
),
),
]
2 changes: 1 addition & 1 deletion data_registry/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Status(models.TextChoices):
"<dt><code>item_dropped_count</code></dt>"
"<dd>The number of items dropped by the crawl</dd>"
"<dt><code>invalid_json_count</code></dt>"
"<dd>The number of invalid JSON files dropped by the crawl</dd>"
"<dd>The number of invalid JSON items dropped by the crawl</dd>"
"<dt><code>process_id</code></dt>"
"<dd>The ID of the base collection in Kingfisher Process</dd>"
"<dt><code>process_id_pelican</code></dt>"
Expand Down

0 comments on commit 311b62b

Please sign in to comment.