Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DuniterPy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
DuniterPy
Commits
9c67df1b
Commit
9c67df1b
authored
5 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[enh]
#122
Implement /wot/requirements-of-pending support in BMA
parent
f37c231d
No related branches found
No related tags found
2 merge requests
!101
Release 0.57.0
,
!99
[enh] #122 Implement /wot/requirements-of-pending support in BMA
Pipeline
#8537
passed
5 years ago
Stage: format
Stage: test
Stage: build
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
duniterpy/api/bma/wot.py
+13
-0
13 additions, 0 deletions
duniterpy/api/bma/wot.py
with
13 additions
and
0 deletions
duniterpy/api/bma/wot.py
+
13
−
0
View file @
9c67df1b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment