Skip to content

Commit

Permalink
Add boto3. Remove boto. Add a test connection to localstack
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevs committed Feb 11, 2022
1 parent e0fc9e7 commit 06c39d1
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 10 deletions.
3 changes: 3 additions & 0 deletions cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from mev_inspect.prices import fetch_prices, fetch_prices_range
from mev_inspect.queue.broker import connect_broker
from mev_inspect.queue.tasks import inspect_many_blocks_task
from mev_inspect.s3_export import list_export_bucket

RPC_URL_ENV = "RPC_URL"

Expand Down Expand Up @@ -127,6 +128,8 @@ def s3_export(after_block_number: int, before_block_number: int):
logger.info(after_block_number)
logger.info(before_block_number)

print(list_export_bucket())


@cli.command()
@click.argument("after", type=click.DateTime(formats=["%Y-%m-%d", "%m-%d-%Y"]))
Expand Down
76 changes: 67 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ psycopg2 = "^2.9.1"
aiohttp = "^3.8.0"
dramatiq = {extras = ["redis"], version = "^1.12.1"}
pycoingecko = "^2.2.0"
boto = "^2.49.0"
boto3 = "^1.20.48"

[tool.poetry.dev-dependencies]
pre-commit = "^2.13.0"
Expand Down

0 comments on commit 06c39d1

Please sign in to comment.