We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f48caac commit 470e978Copy full SHA for 470e978
1 file changed
middleware/main.py
@@ -340,18 +340,12 @@ async def setup_repo(args, config):
340
return git_repo, local_path
341
342
343
-@traced
344
async def process_sitemap(sitemap, local_path, default_http_config, git_repo):
345
"""
346
Process a single sitemap configuration.
347
348
349
scraper_config = MetadataScraperConfig(**sitemap)
350
-
351
- otel_span = trace.get_current_span()
352
- otel_span.set_attribute(
353
- "FAIRagro.middleware.sitemap_name", scraper_config.name)
354
355
path, starttime, repo_report = await scrape_repo_and_write_to_file(
356
local_path, scraper_config, default_http_config
357
)
0 commit comments