Ah, ok. I think something like:

MULTICALL: list of CALL

CALL: dict(METHODNAME, ARGS, OPTIONS)

METHODNAME: string

ARGS: list

OPTIONS: dict

ex:

This looks right, but I lack the Python knowledge to translate this directly to code. Is this something that would be declared in the plugin, or in params.py? Or is this just thinking out loud?



[
   {'method': 'user_show',
    'args': ['admin'],
    'options': {'all': True, 'raw': True}
   },
   {'method': 'user_show',
    'args': ['kfrog'],
    'options': {'all': True, 'raw': True}
   },
]

This would go in the first param field, or as the overall set of params? Can you show the context around how you;d suggest this be called?


IIRC this is pretty similar to what you first proposed.

rob

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to