Skip to content

Commit

Permalink
fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
popenta committed Mar 13, 2024
1 parent 50c81f3 commit 046adc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 38 deletions.
37 changes: 0 additions & 37 deletions Dockerfile

This file was deleted.

6 changes: 5 additions & 1 deletion multiversx_sdk_cli/native_auth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@

from multiversx_sdk_cli.errors import NativeAuthClientError

NUMBER_OF_SECONDS_IN_A_MINUTE = 60
NUMBER_OF_MINUTES_IN_AN_HOUR = 60
NUMBER_OF_HOURS_IN_A_DAY = 24


class NativeAuthClientConfig:
def __init__(
self,
origin: str = '',
api_url: str = "https://api.multiversx.com",
expiry_seconds: int = 60 * 60 * 24,
expiry_seconds: int = NUMBER_OF_SECONDS_IN_A_MINUTE * NUMBER_OF_MINUTES_IN_AN_HOUR * NUMBER_OF_HOURS_IN_A_DAY,
block_hash_shard: Optional[int] = None,
gateway_url: Optional[str] = None,
extra_request_headers: Optional[Dict[str, str]] = None
Expand Down

0 comments on commit 046adc2

Please sign in to comment.