Skip to content

commit_staging method does not work in new versions of AOS #52

@timurmakhmudovich

Description

@timurmakhmudovich

https://github.com/Apstra/apstra-api-python/blob/main/aos/blueprint.py#L426 - actually returns a dict like:
{'nodes': {}, 'relationships': {}, 'version': 363}
even if there are no build errors.
But commit_staging expects it to return False (Empty dict {})
Tested in AOS 5.0.0
Also made a local change return self.rest.json_resp_get(f"/api/blueprints/{bp_id}/errors")['nodes'] - and then was able to commit the blueprint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions