Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
c8b92f5
[EG] dont hardcode api_version on request (#34965)
l0lawrence Mar 27, 2024
d5c7f31
add sync side patches
l0lawrence Mar 27, 2024
b33f24e
aio patches
l0lawrence Mar 29, 2024
10275c3
update readme samples
l0lawrence Mar 29, 2024
4b972fb
all samples use EGClient
l0lawrence Mar 29, 2024
6afe650
update readme samples
l0lawrence Mar 29, 2024
c2da0d2
fix imports
l0lawrence Mar 29, 2024
6e30992
import issue
l0lawrence Mar 29, 2024
3a3dfd5
missing pathc
l0lawrence Mar 29, 2024
1d2e3fb
allow sas cred
l0lawrence Mar 29, 2024
36156ee
typo
l0lawrence Mar 29, 2024
1ffe29c
updates
l0lawrence Mar 29, 2024
d31a9ad
sas
l0lawrence Mar 29, 2024
eddc282
client
l0lawrence Mar 29, 2024
9195ef8
self serialize cloudevent
l0lawrence Apr 1, 2024
5e4face
add bakc in
l0lawrence Apr 1, 2024
dc9dfb1
updates
l0lawrence Apr 1, 2024
18e30ab
update ptach
l0lawrence Apr 1, 2024
9e0ab3d
update
l0lawrence Apr 1, 2024
da460d5
update exception logic
l0lawrence Apr 1, 2024
f445558
async w client
l0lawrence Apr 1, 2024
b1568d3
aio [atch
l0lawrence Apr 1, 2024
e5666bc
typo
l0lawrence Apr 1, 2024
8ce9377
import
l0lawrence Apr 1, 2024
a55861b
update links
l0lawrence Apr 1, 2024
3e9231a
tests
l0lawrence Apr 1, 2024
cce33cc
raise error
l0lawrence Apr 1, 2024
8e68c4c
content type
l0lawrence Apr 1, 2024
009d24b
use more fake url
l0lawrence Apr 1, 2024
a0e055f
remove content type
l0lawrence Apr 1, 2024
9a5fb89
mypy
l0lawrence Apr 1, 2024
4f42263
update apiversion
l0lawrence Apr 1, 2024
2737e9e
content type
l0lawrence Apr 1, 2024
a3a78ac
unitttests
l0lawrence Apr 2, 2024
ef4b2eb
update auth
l0lawrence Apr 2, 2024
37e7839
updates
l0lawrence Apr 2, 2024
de8f2bd
add level
l0lawrence Apr 2, 2024
241cdc2
update readme
l0lawrence Apr 2, 2024
d744e99
update
l0lawrence Apr 2, 2024
4dfa335
binary mode
l0lawrence Apr 2, 2024
cb9354d
args, kwargs
l0lawrence Apr 2, 2024
240e959
remove auth
l0lawrence Apr 2, 2024
339a9d6
add sample comments
l0lawrence Apr 2, 2024
0938e4b
testing
l0lawrence Apr 2, 2024
7c4934b
move around readme
l0lawrence Apr 2, 2024
ccd5c85
content type
l0lawrence Apr 3, 2024
307668a
update tests
l0lawrence Apr 3, 2024
55ace2e
docstring
l0lawrence Apr 3, 2024
e078283
cncf event
l0lawrence Apr 3, 2024
38007d7
add more tests
l0lawrence Apr 3, 2024
fe2d551
update doc
l0lawrence Apr 3, 2024
0769169
update inits to prevent typing errors
l0lawrence Apr 3, 2024
3afea29
ran blakc
l0lawrence Apr 3, 2024
5a6f41a
fix pylint patch
l0lawrence Apr 3, 2024
03ff6b3
changes
l0lawrence Apr 3, 2024
51737b4
add all kwargs
l0lawrence Apr 3, 2024
0f4ab57
indent
l0lawrence Apr 3, 2024
fd8adfc
reviews
l0lawrence Apr 3, 2024
bf35f7b
nit
l0lawrence Apr 3, 2024
bd4ea4e
name changes
l0lawrence Apr 3, 2024
fe0623a
options
l0lawrence Apr 3, 2024
6d37422
options/result rename
l0lawrence Apr 3, 2024
291e88c
Revert "options"
l0lawrence Apr 4, 2024
93fb64b
Revert "options/result rename"
l0lawrence Apr 4, 2024
61e81c0
fix tests
l0lawrence Apr 4, 2024
475ed6a
remove or None
l0lawrence Apr 4, 2024
bf94364
remove EGPubClient
l0lawrence Apr 4, 2024
7d4e712
remove options naming
l0lawrence Apr 4, 2024
e5c92a6
Merge branch 'llawrence/eg/oneclient' of https://github.com/l0lawrenc…
l0lawrence Apr 4, 2024
788a3e3
Revert "remove EGPubClient"
l0lawrence Apr 4, 2024
92543d8
typeerror
l0lawrence Apr 4, 2024
6c293ac
update readme
l0lawrence Apr 4, 2024
bb514b7
readme nit
l0lawrence Apr 4, 2024
f4fc072
readme updates
l0lawrence Apr 4, 2024
31a200a
add send operation samples
l0lawrence Apr 4, 2024
1a5b355
add datacontenttpye
l0lawrence Apr 4, 2024
1abb59f
typo
l0lawrence Apr 5, 2024
c906efa
make Options bag models kwargs
l0lawrence Apr 5, 2024
484cea4
remove models
l0lawrence Apr 5, 2024
67b5ba3
import
l0lawrence Apr 5, 2024
bb45754
exception
l0lawrence Apr 5, 2024
19ca9e0
update changelog
l0lawrence Apr 5, 2024
cd37161
shorten operation names
l0lawrence Apr 5, 2024
e793e38
nit
l0lawrence Apr 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use more fake url
  • Loading branch information
l0lawrence committed Apr 1, 2024
commit 009d24b223e0ffb9f373976ee48ed637a8636508
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_binary_request_format(self):
data=b'this is binary data',
)

request = _to_http_request("https://eg-topic.westus2-1.eventgrid.azure.net/api/events", event=event, binary_mode=True)
request = _to_http_request("https://MYTOPIC.westus2-1.eventgrid.azure.net/api/events", event=event, binary_mode=True)

assert request.data == b"this is binary data"
assert request.headers.get("ce-source") == "source"
Expand All @@ -43,7 +43,7 @@ def test_binary_request_format_with_extensions_and_datacontenttype(self):
extensions={"extension1": "value1", "extension2": "value2"}
)

request = _to_http_request("https://eg-topic.westus2-1.eventgrid.azure.net/api/events", event=event, binary_mode=True)
request = _to_http_request("https://MYTOPIC.westus2-1.eventgrid.azure.net/api/events", event=event, binary_mode=True)

assert request.data == b"this is my data"
assert request.headers.get("ce-source") == "source"
Expand All @@ -63,5 +63,5 @@ def test_class_binary_request_format_error(self):
)

with pytest.raises(TypeError):
_to_http_request("https://eg-topic.westus2-1.eventgrid.azure.net/api/events", event=event, binary_mode=True)
_to_http_request("https://MYTOPIC.westus2-1.eventgrid.azure.net/api/events", event=event, binary_mode=True)