fix typos (#640)
This commit is contained in:
parent
fff74ee754
commit
8167d7da8d
@ -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)
|
||||||
|
@ -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):
|
||||||
|
@ -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] = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user