File tree Expand file tree Collapse file tree 4 files changed +20
-0
lines changed
Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1717
1818
1919class Claim (resource2 .Resource ):
20+ # FIXME(anyone): The name string of `location` field of Zaqar API response
21+ # is lower case. That is inconsistent with the guide from API-WG. This is
22+ # a workaround for this issue.
23+ location = resource2 .Header ("location" )
24+
2025 resources_key = 'claims'
2126 base_path = '/queues/%(queue_name)s/claims'
2227 service = message_service .MessageService ()
Original file line number Diff line number Diff line change 1717
1818
1919class Message (resource2 .Resource ):
20+ # FIXME(anyone): The name string of `location` field of Zaqar API response
21+ # is lower case. That is inconsistent with the guide from API-WG. This is
22+ # a workaround for this issue.
23+ location = resource2 .Header ("location" )
24+
2025 resources_key = 'messages'
2126 base_path = '/queues/%(queue_name)s/messages'
2227 service = message_service .MessageService ()
Original file line number Diff line number Diff line change 1717
1818
1919class Queue (resource2 .Resource ):
20+ # FIXME(anyone): The name string of `location` field of Zaqar API response
21+ # is lower case. That is inconsistent with the guide from API-WG. This is
22+ # a workaround for this issue.
23+ location = resource2 .Header ("location" )
24+
2025 resources_key = "queues"
2126 base_path = "/queues"
2227 service = message_service .MessageService ()
Original file line number Diff line number Diff line change 1717
1818
1919class Subscription (resource2 .Resource ):
20+ # FIXME(anyone): The name string of `location` field of Zaqar API response
21+ # is lower case. That is inconsistent with the guide from API-WG. This is
22+ # a workaround for this issue.
23+ location = resource2 .Header ("location" )
24+
2025 resources_key = 'subscriptions'
2126 base_path = '/queues/%(queue_name)s/subscriptions'
2227 service = message_service .MessageService ()
You can’t perform that action at this time.
0 commit comments