Skip to content

r82 and api version 2.0.1 not working #116

Description

@martvalenta88

Retrieved 50 out of 112 rules (44%)

Retrieved 100 out of 112 rules (89%)

Retrieved 112 out of 112 rules (100%)

Traceback (most recent call last):
File "/home/admin/export_import/import_export_package.py", line 73, in
export_package(client, args)
File "/home/admin/export_import/exporting/export_package.py", line 44, in export_package
= export_access_rulebase(show_package.data["name"], access_layer["name"], access_layer["uid"], client, timestamp, tar_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/export_import/exporting/export_access_rulebase.py", line 16, in export_access_rulebase
get_query_rulebase_data(client, "access-rulebase", {"name": layer, "uid": layer_uid, "package": package})
File "/home/admin/export_import/exporting/export_objects.py", line 116, in get_query_rulebase_data
check_for_export_error(general_object, client)
File "/home/admin/export_import/utils.py", line 474, in check_for_export_error
general_object["type"] not in singular_to_plural_dictionary[client.api_version]):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: '2.0.1'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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