-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Cli download commands aleph & ipfs #165
Changes from all commits
c835978
fd9a96d
530b012
96d31a1
c426aa6
e8e9015
48bc41d
b7cf202
2098b9d
ce4c2a2
6367b4f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
from pygments.formatters.terminal256 import Terminal256Formatter | ||
from pygments.lexers import JsonLexer | ||
from typer import echo | ||
from datetime import datetime | ||
from pathlib import Path | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unneeded import |
||
|
||
|
||
def colorful_json(obj: str): | ||
|
@@ -122,3 +124,4 @@ def str_to_datetime(date: Optional[str]) -> Optional[datetime]: | |
except ValueError: | ||
pass | ||
return datetime.fromisoformat(date) | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you can revert this file |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ def test_get_message_type_value(): | |
assert get_message_type_value(AggregateMessage) == MessageType.aggregate | ||
assert get_message_type_value(StoreMessage) == MessageType.store | ||
assert get_message_type_value(ProgramMessage) == MessageType.program | ||
assert get_message_type_value(ForgetMessage) == MessageType.forget | ||
assert get_message_type_value(ForgetMessage) == MessageType.forget | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems also unneeded? Maybe it's due to auto formatting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the wrong import, try using
async with AlephHttpClient