Skip to content

Commit 96eac3c

Browse files
committed
Fix.
1 parent b95a815 commit 96eac3c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

hbase/sesion5.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,9 @@
191191
"import happybase\n",
192192
"from happybase import ConnectionPool\n",
193193
"from contextlib import contextmanager\n",
194+
"import os\n",
194195
"\n",
195-
"HBASEHOST: str = 'localhost'\n",
196+
"HBASEHOST: str = os.getenv('HBASEHOST', 'localhost')\n",
196197
"\n",
197198
"class Connection():\n",
198199
"\n",

hbase/sesion6.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
"from happybase import ConnectionPool\n",
192192
"from contextlib import contextmanager\n",
193193
"\n",
194-
"HBASEHOST: str = 'localhost'\n",
194+
"HBASEHOST: str = os.getenv('HBASEHOST', 'localhost')\n",
195195
"\n",
196196
"class Connection():\n",
197197
"\n",

0 commit comments

Comments
 (0)