I'm using the latest ansible-test.  Here is the code:

def cmd_options_params_definition() -> dict[str, Any]:
...

here are the errors:

Running sanity test "import" on Python 3.6
ERROR: plugins/module_utils/ha_cluster_lsr/pcs_api_v2_utils.py:93:0:
traceback: TypeError: 'type' object is not subscriptable
...
Running sanity test "import" on Python 3.7
ERROR: plugins/module_utils/ha_cluster_lsr/pcs_api_v2_utils.py:93:0:
traceback: TypeError: 'type' object is not subscriptable
...
Running sanity test "import" on Python 3.8
ERROR: plugins/module_utils/ha_cluster_lsr/pcs_api_v2_utils.py:93:0:
traceback: TypeError: 'type' object is not subscriptable


I suppose I could create a tests/config.yml with

modules:
  python_requires: ">= 3.9"

but that seems like a pretty big hammer . . . hoping there is another way
to handle this.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALF5A-J1xtrqkxv9RdPFj0uA8wzc%2BV%2B7z70gPxwbH3emU%3DiNNA%40mail.gmail.com.

Reply via email to