fix typos (#640)

This commit is contained in:
Sara Tavares 2023-02-24 19:10:49 +00:00 committed by GitHub
parent fff74ee754
commit 8167d7da8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 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] = []