Remove files in examples that are not used anymore.
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
MY_SECRET=321
|
||||
TEST_USER_PASSWORD=sweetpassword
|
||||
PATH=marzo
|
||||
@ -1,2 +0,0 @@
|
||||
TEST_USER_PASSWORD=not_sweet_password
|
||||
PATH='abril'
|
||||
@ -1,23 +0,0 @@
|
||||
import os
|
||||
|
||||
import bonobo
|
||||
|
||||
|
||||
def extract():
|
||||
my_secret = os.getenv('MY_SECRET')
|
||||
test_user_password = os.getenv('TEST_USER_PASSWORD')
|
||||
path = os.getenv('PATH')
|
||||
|
||||
yield my_secret
|
||||
yield test_user_password
|
||||
yield path
|
||||
|
||||
|
||||
def load(s: str):
|
||||
print(s)
|
||||
|
||||
|
||||
graph = bonobo.Graph(extract, load)
|
||||
|
||||
if __name__ == '__main__':
|
||||
bonobo.run(graph)
|
||||
@ -1,25 +0,0 @@
|
||||
import os
|
||||
|
||||
import bonobo
|
||||
|
||||
|
||||
def extract():
|
||||
env_test_user = os.getenv('ENV_TEST_USER', 'user')
|
||||
env_test_number = os.getenv('ENV_TEST_NUMBER', 'number')
|
||||
env_test_string = os.getenv('ENV_TEST_STRING', 'string')
|
||||
env_user = os.getenv('USER')
|
||||
|
||||
yield env_test_user
|
||||
yield env_test_number
|
||||
yield env_test_string
|
||||
yield env_user
|
||||
|
||||
|
||||
def load(s: str):
|
||||
print(s)
|
||||
|
||||
|
||||
graph = bonobo.Graph(extract, load)
|
||||
|
||||
if __name__ == '__main__':
|
||||
bonobo.run(graph)
|
||||
Reference in New Issue
Block a user