Merge branch 'main' into frontend-update-page-headers

This commit is contained in:
Henry Wilkinson 2023-02-24 16:19:56 -05:00
commit 5df0808c39
4 changed files with 10 additions and 3 deletions

View File

@ -92,7 +92,7 @@ class CollectionOps:
return {result["name"]: result["_id"] for result in results} return {result["name"]: result["_id"] for result in results}
async def get_collection_crawls(self, oid: uuid.UUID, name: str = None): async def get_collection_crawls(self, oid: uuid.UUID, name: str = None):
"""fidn collection and get all crawls by collection name per org""" """find collection and get all crawls by collection name per org"""
collid = None collid = None
if name: if name:
coll = await self.find_collection(oid, name) coll = await self.find_collection(oid, name)

View File

@ -397,7 +397,7 @@ class CrawlJob(ABC):
@abstractmethod @abstractmethod
async def _get_crawl(self): async def _get_crawl(self):
"""get runnable object represnting this crawl""" """get runnable object representing this crawl"""
@abstractmethod @abstractmethod
async def _do_scale(self, new_scale): async def _do_scale(self, new_scale):

View File

@ -48,7 +48,7 @@ class Profile(BaseMongoModel):
# ============================================================================ # ============================================================================
class ProfileWithCrawlConfigs(Profile): class ProfileWithCrawlConfigs(Profile):
"""Profile with list of crawlconfigs useing this profile""" """Profile with list of crawlconfigs using this profile"""
crawlconfigs: List[CrawlConfigIdNameOut] = [] crawlconfigs: List[CrawlConfigIdNameOut] = []

7
frontend/.editorconfig Normal file
View File

@ -0,0 +1,7 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2