数据驱动方式尝试
This commit is contained in:
10
05-Other/variable/my3.py
Normal file
10
05-Other/variable/my3.py
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
def get_variables1():
|
||||
variables = {"VARIABLE":"An example string",
|
||||
"ANOTHER VARIABLE":"This is pretty easy!",
|
||||
"INTEGER":66,
|
||||
"STRINGS":["one","two","kolme","four"],
|
||||
"NUMBERS":[1,66,3.1415926],
|
||||
"MAPPING":'{"one":1,"two":2,"three":3}',
|
||||
"DXY":'{"one":1,"two":2,"three":${VARIABLE}}'}
|
||||
return variables
|
||||
Reference in New Issue
Block a user