Skip to content

Add input path option to score_workflow API #47

Description

@almanilsson

Currently, the data for API testing is located in the data/out directory instead of test/data. This is because the score_workflow API method lacks an option to specify the input path for the graph, so the latest generated graph is used by default.
An input parameter could be added to the score_workflow request, so the path for the graph used in scoring workflows is configurable. This parameter should then replace the hard coded "data/out" currently used when loading a graph in the score_workflow method.

graph = await pubmetric.network.create_network(inpath="data/out", load_graph=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions