-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
float argument must be a string or a number (#762)
* Use saft_float to parse * Bump version * Add tests
- Loading branch information
Showing
3 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "metaphor-connectors" | ||
version = "0.13.109" | ||
version = "0.13.110" | ||
license = "Apache-2.0" | ||
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app." | ||
authors = ["Metaphor <[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,7 +203,22 @@ def mock_list_pipelines(factory_name, resource_group_name): | |
mock_client.pipelines.list_by_factory.side_effect = mock_list_pipelines | ||
|
||
def mock_get_pipeline_runs(factory_name, resource_group_name, filter_parameters): | ||
return DfModels.PipelineRunsQueryResponse(value=[]) | ||
return DfModels.PipelineRunsQueryResponse( | ||
value=[ | ||
DfModels.PipelineRun.deserialize( | ||
{ | ||
"runId": "run-id", | ||
"runGroupId": "run-group-id", | ||
"isLatest": True, | ||
"pipelineName": "pipeline-1", | ||
"invokedBy": { | ||
"name": "foo", | ||
"id": "[email protected]", | ||
}, | ||
} | ||
) | ||
] | ||
) | ||
|
||
mock_client.pipeline_runs.query_by_factory.side_effect = mock_get_pipeline_runs | ||
mock_client.pipeline_runs._serialize.body.side_effect = lambda _1, _2: { | ||
|