Skip to content
Snippets Groups Projects
Commit 9c67df1b authored by Vincent Texier's avatar Vincent Texier
Browse files

[enh] #122 Implement /wot/requirements-of-pending support in BMA

parent f37c231d
No related branches found
No related tags found
2 merge requests!101Release 0.57.0,!99[enh] #122 Implement /wot/requirements-of-pending support in BMA
Pipeline #8537 passed
......@@ -331,6 +331,19 @@ async def requirements(client: Client, search: str) -> dict:
)
async def requirements_of_pending(client: Client, minsig: int) -> dict:
"""
GET list of requirements of all pending identities with a minimum of minsig certifications
:param client: Client to connect to the api
:param minsig: Minimum number of certifications
:return:
"""
return await client.get(
MODULE + "/requirements-of-pending/%d" % minsig, schema=REQUIREMENTS_SCHEMA
)
async def identity_of(client: Client, search: str) -> dict:
"""
GET Identity data written in the blockchain
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment