Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
spicy-sauce committed Oct 31, 2023
1 parent b08a511 commit b90950e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion core/src/datayoga_core/blocks/redis/read_stream/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def init(self, context: Optional[Context] = None):
connection = get_connection_details(self.properties.get("connection"), context)
self.redis_client = redis_utils.get_client(connection)


self.stream = self.properties["stream_name"]
self.snapshot = self.properties.get("snapshot", False)
self.consumer_group = f'datayoga_job_{context.properties.get("job_name", "") if context else ""}'
Expand Down
4 changes: 2 additions & 2 deletions core/src/datayoga_core/blocks/redis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def get_client(connection: Dict[str, Any]) -> Redis:
Raises:
ValueError: If connection to Redis fails.
"""
host=connection["host"]
port=connection["port"]
host = connection["host"]
port = connection["port"]
key = connection.get("key")
key_password = connection.get("key_password")
cert = connection.get("cert")
Expand Down

0 comments on commit b90950e

Please sign in to comment.