We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7208f7 commit 75cde3bCopy full SHA for 75cde3b
sde_collections/models/collection.py
@@ -242,6 +242,16 @@ def add_to_public_query(self):
242
def included_urls_count(self):
243
return self.candidate_urls.filter(excluded=False).count()
244
245
+ @property
246
+ def delta_urls_count(self):
247
+ """get the total number of delta urls"""
248
+ return self.delta_urls.filter(excluded=False).count()
249
+
250
251
+ def included_curated_urls_count(self):
252
+ """get the number of included, curated urls"""
253
+ return self.curated_urls.filter(excluded=False).count()
254
255
@property
256
def _scraper_config_path(self) -> str:
257
return f"sources/scrapers/{self.config_folder}/default.xml"
0 commit comments