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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
DuniterPy
Merge requests
!159
#152
,
#170
: Missing f-string for ESUserEndpoint regex
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
#152
,
#170
: Missing f-string for ESUserEndpoint regex
170_fix_esuserendpoint
into
dev
Overview
0
Commits
2
Pipelines
6
Changes
2
Merged
Moul
requested to merge
170_fix_esuserendpoint
into
dev
3 years ago
Overview
0
Commits
2
Pipelines
6
Changes
2
Fix datapod domain name in the example
Close
#152 (closed)
.
Edited
3 years ago
by
Moul
0
0
Merge request reports
Compare
dev
version 2
a28aa666
3 years ago
version 1
87755a31
3 years ago
dev (base)
and
version 2
latest version
9e6ea9be
2 commits,
3 years ago
version 2
a28aa666
2 commits,
3 years ago
version 1
87755a31
1 commit,
3 years ago
2 files
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
duniterpy/api/endpoint.py
+
1
−
1
View file @ a28aa666
Edit in single-file editor
Open in Web IDE
Show full file
@@ -456,7 +456,7 @@ ESUserEndpointType = TypeVar("ESUserEndpointType", bound="ESUserEndpoint")
class
ESUserEndpoint
(
Endpoint
):
API
=
"
ES_USER_API
"
re_inline
=
re
.
compile
(
"
^{API} (?P<host>(?:{const.HOST_REGEX})|(?:{const.IPV4_REGEX})) (?P<port>{const.PORT_REGEX})$
"
f
"
^
{
API
}
(?P<host>(?:
{
const
.
HOST_REGEX
}
)|(?:
{
const
.
IPV4_REGEX
}
)) (?P<port>
{
const
.
PORT_REGEX
}
)$
"
)
def
__init__
(
self
,
host
:
str
,
port
:
int
)
->
None
:
Loading