runnable 0.28.6__py3-none-any.whl → 0.28.8__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
runnable/entrypoints.py CHANGED
@@ -174,7 +174,7 @@ def set_pipeline_spec_from_yaml(run_context: context.Context, pipeline_file: str
174
174
  def set_pipeline_spec_from_python(run_context: context.Context, python_module: str):
175
175
  # Call the SDK to get the dag
176
176
  # Import the module and call the function to get the dag
177
- module_file = python_module.strip(".py")
177
+ module_file = python_module.rstrip(".py")
178
178
  module, func = utils.get_module_and_attr_names(module_file)
179
179
  sys.path.insert(0, os.getcwd()) # Need to add the current directory to path
180
180
  imported_module = importlib.import_module(module)
@@ -429,7 +429,7 @@ def set_job_spec_from_yaml(run_context: context.Context, job_definition_file: st
429
429
 
430
430
  def set_job_spec_from_python(run_context: context.Context, python_module: str):
431
431
  # Import the module and call the function to get the task
432
- module_file = python_module.strip(".py")
432
+ module_file = python_module.rstrip(".py")
433
433
  module, func = utils.get_module_and_attr_names(module_file)
434
434
  sys.path.insert(0, os.getcwd()) # Need to add the current directory to path
435
435
  imported_module = importlib.import_module(module)
runnable/parameters.py CHANGED
@@ -114,9 +114,6 @@ def filter_arguments_for_func(
114
114
 
115
115
  bound_model = bind_args_for_pydantic_model(named_param, value.annotation)
116
116
  bound_args[name] = bound_model
117
- unassigned_params = unassigned_params.difference(
118
- bound_model.model_fields.keys()
119
- )
120
117
 
121
118
  elif value.annotation in [str, int, float, bool]:
122
119
  # Cast it if its a primitive type. Ensure the type matches the annotation.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runnable
3
- Version: 0.28.6
3
+ Version: 0.28.8
4
4
  Summary: Add your description here
5
5
  Author-email: "Vammi, Vijay" <vijay.vammi@astrazeneca.com>
6
6
  License-File: LICENSE
@@ -44,20 +44,20 @@ runnable/cli.py,sha256=3BiKSj95h2Drn__YlchMPZ5rBMafuRb2OGIsVpbsO5Y,8788
44
44
  runnable/context.py,sha256=by5uepmuCP0dmM9BmsliXihSes5QEFejwAsmekcqylE,1388
45
45
  runnable/datastore.py,sha256=ZobM1aVkgeUJ2fZYt63IFDsoNzObwc93hdByegS5YKQ,32396
46
46
  runnable/defaults.py,sha256=3o9IVGryyCE6PoQTOoaIaHHTbJGEzmdXMcwzOhwAYoI,3518
47
- runnable/entrypoints.py,sha256=xkUa568-7x9xALz13qW14DxS1nnLDKwLwdIBJZG-vM0,18982
47
+ runnable/entrypoints.py,sha256=cDbhtmLUWdBh9K6hNusfQpSd5NadcX8V1K2JEDf_YAg,18984
48
48
  runnable/exceptions.py,sha256=LFbp0-Qxg2PAMLEVt7w2whhBxSG-5pzUEv5qN-Rc4_c,3003
49
49
  runnable/executor.py,sha256=UCBBtyD0khl9QjT4SRTFMQDHDLWfJUC2U4_b3KQzaBE,15127
50
50
  runnable/graph.py,sha256=poQz5zcvq89ju_u5sYlunQLPbHnXTaUmjcvstPwvT4U,16536
51
51
  runnable/names.py,sha256=vn92Kv9ANROYSZX6Z4z1v_WA3WiEdIYmG6KEStBFZug,8134
52
52
  runnable/nodes.py,sha256=YU9u7r1ESzui1uVtJ1dgwdv1ozyJnF2k-MCFieT8CLI,17519
53
- runnable/parameters.py,sha256=LyQb1d0SaFeI4PJ_yDYt9wArm9ThSPASWb36TwIdDUs,5213
53
+ runnable/parameters.py,sha256=sT3DNGczivP9z7r4Cp_brbudg1z4J-zjmvrq3ppIrVs,5089
54
54
  runnable/pickler.py,sha256=ydJ_eti_U1F4l-YacFp7BWm6g5vTn04UXye25S1HVok,2684
55
55
  runnable/sdk.py,sha256=y3fbK4KAP6FiTF37ickVF9gqaZXrJIgSnHGOSG5ZWpI,33803
56
56
  runnable/secrets.py,sha256=PXcEJw-4WPzeWRLfsatcPPyr1zkqgHzdRWRcS9vvpvM,2354
57
57
  runnable/tasks.py,sha256=X6xijut7ffwpfYDcXoN6y0AcRVd7fWHs676DJ00Kma4,29134
58
58
  runnable/utils.py,sha256=hBr7oGwGL2VgfITlQCTz-a1iwvvf7Mfl-HY8UdENZac,19929
59
- runnable-0.28.6.dist-info/METADATA,sha256=phU1gjJ7dhv5biqBNFOCQv5-rdoLpVtViGFc_cGTIQQ,10047
60
- runnable-0.28.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
61
- runnable-0.28.6.dist-info/entry_points.txt,sha256=ioMbWojILtdibYVgh1jXJ00SpK-tX3gy7oVGDq61cSk,1839
62
- runnable-0.28.6.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
63
- runnable-0.28.6.dist-info/RECORD,,
59
+ runnable-0.28.8.dist-info/METADATA,sha256=zA7aiT_kZ5NikkA0SRFmCC-83ZcjN883gHIQqVJXntw,10047
60
+ runnable-0.28.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
61
+ runnable-0.28.8.dist-info/entry_points.txt,sha256=ioMbWojILtdibYVgh1jXJ00SpK-tX3gy7oVGDq61cSk,1839
62
+ runnable-0.28.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
63
+ runnable-0.28.8.dist-info/RECORD,,