Skip to content

Commit b65e278

Browse files
remove count calculations defined as properties
1 parent c889c15 commit b65e278

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

sde_collections/models/collection.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -266,20 +266,6 @@ def add_to_public_query(self):
266266
scraper_content = scraper_editor.update_config_xml()
267267
gh.create_or_update_file(query_path, scraper_content)
268268

269-
@property
270-
def included_urls_count(self):
271-
return self.candidate_urls.filter(excluded=False).count()
272-
273-
@property
274-
def delta_urls_count(self):
275-
"""get the total number of delta urls"""
276-
return self.delta_urls.filter(excluded=False).count()
277-
278-
@property
279-
def included_curated_urls_count(self):
280-
"""get the number of included, curated urls"""
281-
return self.curated_urls.filter(excluded=False).count()
282-
283269
@property
284270
def _scraper_config_path(self) -> str:
285271
return f"sources/scrapers/{self.config_folder}/default.xml"

0 commit comments

Comments
 (0)