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
Merge requests
!99
[enh]
#122
Implement /wot/requirements-of-pending support in BMA
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[enh]
#122
Implement /wot/requirements-of-pending support in BMA
#122
into
dev
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Vincent Texier
requested to merge
#122
into
dev
5 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
9c67df1b
1 commit,
5 years ago
1 file
+
13
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
duniterpy/api/bma/wot.py
+
13
−
0
Options
@@ -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
Loading