From 6147bf4412be87abb7140c495afb49c16dd95dc6 Mon Sep 17 00:00:00 2001 From: daniel-davidd Date: Mon, 11 Sep 2023 14:11:56 +0300 Subject: [PATCH 1/3] changed seed --- memphis/memphis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memphis/memphis.py b/memphis/memphis.py index 912e4cd..0b5b39e 100644 --- a/memphis/memphis.py +++ b/memphis/memphis.py @@ -41,8 +41,8 @@ class Memphis: MAX_BATCH_SIZE = 5000 MEMPHIS_GLOBAL_ACCOUNT_NAME = "$memphis" - SEED = 1234 - + SEED = 31 + def __init__(self): self.is_connection_active = False self.schema_updates_data = {} From 5babbbfcec78cc6801f62736e52e3c0d33bea868 Mon Sep 17 00:00:00 2001 From: daniel-davidd Date: Mon, 11 Sep 2023 14:13:04 +0300 Subject: [PATCH 2/3] pylint fix --- memphis/memphis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memphis/memphis.py b/memphis/memphis.py index 0b5b39e..eb16759 100644 --- a/memphis/memphis.py +++ b/memphis/memphis.py @@ -42,7 +42,7 @@ class Memphis: MAX_BATCH_SIZE = 5000 MEMPHIS_GLOBAL_ACCOUNT_NAME = "$memphis" SEED = 31 - + def __init__(self): self.is_connection_active = False self.schema_updates_data = {} From c7780a1c2ae2b4d077ed8627680324cc6aa7adb8 Mon Sep 17 00:00:00 2001 From: daniel-davidd Date: Mon, 11 Sep 2023 14:31:30 +0300 Subject: [PATCH 3/3] added notice --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 98089e2..efe4442 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,11 @@ Highly resilient, distributed architecture, cloud-native, and run on any Kuberne $ pip3 install memphis-py ``` +Notice: you may receive an error about the "mmh3" package, to solve it please install python3-devel +```sh +$ sudo yum install python3-devel +``` + ## Importing ```python