Skip to content

Commit

Permalink
Update goth version in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
azawlocki committed Apr 14, 2021
1 parent a0f92df commit 5c5cdf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ colorama = "^0.4.4"
# It will be then installable with `poetry install -E integration-tests`.
# Note that putting `goth` in `poetry.dev-dependencies` instead of `poetry.dependencies`
# would not work: see https://github.com/python-poetry/poetry/issues/129.
goth = { version = "^0.2.0", optional = true, python = "^3.8.0" }
goth = { version = "^0.2.1", optional = true, python = "^3.8.0" }

[tool.poetry.extras]
cli = ['fire', 'rich']
Expand Down
4 changes: 2 additions & 2 deletions yapapi/executor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ async def reject_proposal(reason: str) -> events.ProposalRejected:
await state.agreements_pool.add_proposal(score, proposal)
return events.ProposalConfirmed(prop_id=proposal.id)

async def find_offers(self, state: "Executor.SubmissionState") -> None:
async def _find_offers(self, state: "Executor.SubmissionState") -> None:
"""Create a market subscription and repeatedly collect offer proposals for it.
Collected proposals are processed concurrently using a bounded number
Expand Down Expand Up @@ -607,7 +607,7 @@ async def worker_starter() -> None:
logger.debug("There was a problem during use_agreement", exc_info=True)

loop = asyncio.get_event_loop()
find_offers_task = loop.create_task(self.find_offers(state))
find_offers_task = loop.create_task(self._find_offers(state))
process_invoices_job = loop.create_task(process_invoices())
wait_until_done = loop.create_task(work_queue.wait_until_done())
worker_starter_task = loop.create_task(worker_starter())
Expand Down

0 comments on commit 5c5cdf4

Please sign in to comment.