Adam Hopkins
7bed5a5c3c
Add convenience decorators for new listeners ( #2064 )
2021-03-16 11:21:05 +02:00
Adam Hopkins
2fea954dcf
Add signal reservations ( #2060 )
...
* Add signal reservations
* Simplify reservations
2021-03-14 15:21:59 +02:00
Adam Hopkins
d4660d0ca7
Add add_signal method ( #2061 )
2021-03-14 14:06:27 +02:00
Adam Hopkins
824f41d6e0
RFC/1630 Signals ( #2042 )
...
* Temp working version of initial signal api
* fix signals router finalizing
* Additional tests
* Add event test
* finalize test
* remove old comment
* Add some missing annotations
* multiple apps per BP support
* deepsource?
* rtemove deepsource
* nominal change
* fix blueprints test
* trivial change to trigger build
* signal docstring
* squash
* squash
* Add a couple new tests
* Add some suggestions from review
* Remove inaccessible code
* Change where to condition
2021-03-14 10:09:07 +02:00
Adam Hopkins
b1a57a8b62
JSON encoder change via app ( #2055 )
2021-03-11 17:09:18 +02:00
Adam Hopkins
d76925cf35
Make get_app name optional ( #2053 )
2021-03-11 16:27:56 +02:00
Adam Hopkins
ec7e4390e8
Fix some examples and docs ( #2052 )
2021-03-10 11:19:38 +02:00
Harsha Narayana
2c25af8cf5
GIT-2045: enable versioning and strict slash on BlueprintGroup ( #2047 )
...
* GIT-2045: enable versioning and strict slash on BlueprintGroup
* GIT-2045: convert named tuple into typed format + unit tests
* GIT-2045: add example code for versioned bpg
* GIT-2045: None value for strict slashes check
* GIT-2045: refactor handler types and add benchmark for urlparse
* GIT-2045: reduce urlparse benchmark iterations
* GIT-2045: add unit test and url merge behavior
* GIT-2045: cleanup example code and remove print
* GIT-2045: add test for slash duplication avoidence
* GIT-2045: fix issue with tailing / getting appended
* GIT-2045: use Optional instead of Union for Typing
* GIT-2045: use string for version arg
* GIT-2045: combine optional with union
2021-03-07 14:54:45 +02:00
Aksh Gupta
0d2d62eae5
chore: refactor code quality issues ( #2044 )
2021-03-05 10:26:03 +02:00
Adam Hopkins
93a697f6ea
Add __str__ and __repr__ to Sanic and Bluepring ( #2043 )
2021-03-03 16:58:18 +02:00
Adam Hopkins
a733d32715
Add raw header info to request object ( #2032 )
2021-03-03 16:33:34 +02:00
Adam Hopkins
27f64ddae2
Router tweaks ( #2031 )
...
* Add trailing slash when defined and strict_slashes
* Add partial matching, and fix some issues with url_for
* Cover additional edge cases
* cleanup tests
2021-03-01 15:30:52 +02:00
Adam Hopkins
4b968dc611
Listeners for main server process ( #2018 )
...
* Initial POC
* Add test case
* Resolve create_server and Gunicorn serve)
* add testr coverage
2021-03-01 15:03:26 +02:00
Adam Hopkins
dee95fd1c0
Add more py37 typing hacks
2021-02-22 14:08:14 +02:00
Adam Hopkins
9c48c7d39b
Add more py37 typing hacks
2021-02-22 14:08:04 +02:00
Adam Hopkins
3a45d3291b
Add support for 3.7 checking of mock transport
2021-02-22 13:39:16 +02:00
Adam Hopkins
c7307c1f85
Add support for 3.7 checking of mock transport
2021-02-22 13:39:10 +02:00
Adam Hopkins
070236677c
Merge in changes from 3.6 drop
2021-02-22 13:09:33 +02:00
Adam Hopkins
8f3e076661
trivial
2021-02-21 23:42:32 +02:00
Adam Hopkins
37f0a51063
Remove Python 3.6 support
2021-02-21 23:28:28 +02:00
Adam Hopkins
d6343c367f
Remove future annotations
2021-02-21 22:58:30 +02:00
Adam Hopkins
bad9fd0258
Cleanup type checking
2021-02-21 21:29:54 +02:00
Adam Hopkins
d402d0362e
Cleanup type checking
2021-02-21 21:29:41 +02:00
Adam Hopkins
209579f280
Resolve tests
2021-02-17 16:10:57 +02:00
Adam Hopkins
9e23e75fb4
Resolve merge conflict
2021-02-16 11:36:06 +02:00
Adam Hopkins
a913e712a7
test coverage
2021-02-15 22:45:21 +02:00
Adam Hopkins
7f63ad5484
Add some test coverage
2021-02-15 21:50:20 +02:00
Adam Hopkins
a498c29ec9
squash
2021-02-15 17:33:23 +02:00
Adam Hopkins
973c315790
Merge in latest from sanic-routing branch
2021-02-15 17:20:07 +02:00
Adam Hopkins
55a5ab4be1
squash
2021-02-15 14:01:32 +02:00
Adam Hopkins
6057da71f3
Resolve test suite
2021-02-15 13:45:29 +02:00
Adam Hopkins
e91b3d40a2
squash
2021-02-15 10:47:16 +02:00
Adam Hopkins
b89f9a57e0
static performance increase
2021-02-09 16:39:03 +02:00
Adam Hopkins
b850e49cb3
test coverage with param change
2021-02-09 16:17:53 +02:00
Adam Hopkins
6b68c3702e
Temp performance testing
2021-02-09 12:25:08 +02:00
Adam Hopkins
5f17e9591b
worker
2021-02-08 14:09:41 +02:00
Adam Hopkins
64f0496d9e
ASGI working
2021-02-08 12:43:10 +02:00
Adam Hopkins
0d5b2a0f69
debug and working stage--squash
2021-02-08 12:18:29 +02:00
Adam Hopkins
c08b153cee
Resolve some more tests
2021-02-07 11:38:37 +02:00
Adam Hopkins
a434ffa8b7
interim
2021-02-04 00:42:24 +02:00
Adam Hopkins
967c4e6a4e
Clean up use cases
2021-02-03 22:37:19 +02:00
Adam Hopkins
3f1e9ff528
Clean up use cases:
2021-02-03 22:36:44 +02:00
Adam Hopkins
96cc49e31e
fix method ignore on websocket route
2021-02-02 01:07:29 +02:00
Adam Hopkins
94e5f82a81
squash
2021-02-01 09:56:58 +02:00
Adam Hopkins
0165c9c644
Fix typo in asgi client
2021-01-31 16:41:10 +02:00
Adam Hopkins
7b47a4bebc
squash
2021-01-31 16:31:04 +02:00
Adam Hopkins
a46ea4fc59
squash
2021-01-31 16:08:19 +02:00
Adam Hopkins
4358a7eefd
Add more documentationand type annotations
2021-01-31 12:30:37 +02:00
Adam Hopkins
b958cdc151
Additonal annotations
2021-01-29 16:19:10 +02:00
Adam Hopkins
65b76f2762
Add in sanic-routing branch
2021-01-28 12:33:09 +02:00