mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
* fix: scaleway inventory pagination
* add changelog
* Update changelogs/fragments/2036-scaleway-inventory.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Antoine Barbare <abarbare@online.net>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit fe61be3e11
)
Co-authored-by: abarbare <antoinebarbare@gmail.com>
This commit is contained in:
parent
75196b924b
commit
fc3e25c2d0
2 changed files with 4 additions and 1 deletions
|
@ -39,7 +39,7 @@ class ScalewayException(Exception):
|
|||
R_LINK_HEADER = r'''<[^>]+>;\srel="(first|previous|next|last)"
|
||||
(,<[^>]+>;\srel="(first|previous|next|last)")*'''
|
||||
# Specify a single relation, for iteration and string extraction purposes
|
||||
R_RELATION = r'<(?P<target_IRI>[^>]+)>; rel="(?P<relation>first|previous|next|last)"'
|
||||
R_RELATION = r'</?(?P<target_IRI>[^>]+)>; rel="(?P<relation>first|previous|next|last)"'
|
||||
|
||||
|
||||
def parse_pagination_link(header):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue