Commit Graph

2761 Commits

Author SHA1 Message Date
Adam Hopkins
d76925cf35
Make get_app name optional (#2053) 2021-03-11 16:27:56 +02:00
Adam Hopkins
400f54c7ec
Update README.rst 2021-03-10 18:14:48 +02:00
Adam Hopkins
ec7e4390e8
Fix some examples and docs (#2052) 2021-03-10 11:19:38 +02:00
Adam Hopkins
5ca8bb85cd
Update CODEOWNERS 2021-03-08 20:01:07 +02:00
elis-k
5c624f8b76
Find packages (#2049)
Error when installing from master because some packages ('models' & 'mixins') are not being included.
2021-03-07 16:51:14 +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
Adam Hopkins
be905e0009
Create CODEOWNERS 2021-03-05 10:47:39 +02:00
Aksh Gupta
0d2d62eae5
chore: refactor code quality issues (#2044) 2021-03-05 10:26:03 +02:00
Adam Hopkins
00a1ee0cb6
Update conf.py 2021-03-04 14:14:48 +02:00
Adam Hopkins
f0d44822bc
Update README.rst 2021-03-04 14:12:40 +02:00
Adam Hopkins
e771e4e019
Update README.rst 2021-03-04 14:12:24 +02:00
Adam Hopkins
82e5f57edd
Update README.rst 2021-03-04 14:05:48 +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
c41d7136e8 Change order of Docs index 2021-03-03 09:26:22 +02:00
Adam Hopkins
bb65dda277 Docs changes for RTD 2021-03-03 09:21:44 +02:00
Adam Hopkins
e1e9a7cf20 Update Sphinx docs to use README 2021-03-01 23:08:11 +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
170177feb0
Update README.rst 2021-03-01 01:03:42 +02:00
Adam Hopkins
eef44ae179
Merge pull request #2006 from sanic-org/docs-annotations
API Docs & Annotations
2021-02-28 19:59:02 +02:00
Adam Hopkins
161efc67a3
Merge branch 'master' into docs-annotations 2021-02-25 09:23:01 +02:00
Adam Hopkins
dbfc11f4c5
Update codecov.yml 2021-02-24 21:09:27 +02:00
Adam Hopkins
e5ea4f5019
Update README.rst 2021-02-24 09:52:47 +02:00
Adam Hopkins
62d0b05309
Update README.rst 2021-02-24 09:50:21 +02:00
Adam Hopkins
aae8f13d9a
Update README.rst 2021-02-23 22:05:53 +02:00
Adam Hopkins
eac900d363
Update README.rst 2021-02-23 12:07:30 +02:00
Adam Hopkins
cd0c3d3eea
Merge branch 'master' into docs-annotations 2021-02-22 22:32:04 +02:00
Adam Hopkins
b461cc338c
Merge pull request #2038 from sanic-org/codecov
Codecov
2021-02-22 22:31:37 +02:00
Adam Hopkins
7c34b57e92 squash 2021-02-22 15:21:43 +02:00
Adam Hopkins
c35a53fe24 squash 2021-02-22 15:19:15 +02:00
Adam Hopkins
055c78b475 squash 2021-02-22 15:15:51 +02:00
Adam Hopkins
a9a52ef1e9 Make codecov more lenient 2021-02-22 15:14:04 +02:00
Adam Hopkins
a760989354 Merge branch 'docs-annotations' of github.com:sanic-org/sanic into docs-annotations 2021-02-22 14:08:41 +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
fc5e3b4ede
Merge branch 'master' into docs-annotations 2021-02-22 13:43:23 +02:00
Adam Hopkins
baf96275bf
Merge pull request #2037 from sanic-org/drop36-tox
Fix tox for Python3.6 drop support
2021-02-22 13:43:03 +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
dec46d5c4a
Merge branch 'master' into drop36-tox 2021-02-22 13:21:45 +02:00
Adam Hopkins
93313e6385 Fix tox for Python3.6 drop support 2021-02-22 13:20:58 +02:00
Adam Hopkins
070236677c Merge in changes from 3.6 drop 2021-02-22 13:09:33 +02:00
Ashley Sommer
6b86921c7a
Merge pull request #2036 from sanic-org/drop-36
Remove Python 3.6 support
2021-02-22 09:13:07 +10: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