Commit Graph
11 Commits
Author SHA1 Message Date
Roy Williams 5d61aa5acb Add stubs for jinja2 (#722)
I added strong types to the class that users are likely to interact with and left
the rest untyped for now.  This is needed to support Flask.

Permission is given here - https://github.com/pallets/flask/issues/2012
2016-12-01 13:38:15 +00:00
Roy Williams 0391e72a6e Expose pytz.UTC as an instance as opposed to as a class (#723)
* Expose pytz.UTC as an instance as opposed to as a class

pytz shadows UTC after declaring it with a singleton:
https://github.com/newvem/pytz/blob/master/pytz/__init__.py#L135

This fixes https://github.com/python/typeshed/issues/710
2016-11-29 23:04:53 -08:00
Roy Williams 1dff8e4a45 Add stubs for markupsafe (#718)
* Add stubs for markupsafe
* Add more specific types for markupsafe

This is needed for Flask. Permission was given here:
https://github.com/pallets/itsdangerous/issues/69#issuecomment-246516942
2016-11-29 13:32:12 -08:00
Roy Williams 021b162bc9 Add stubs for werkzeug (#530) 2016-11-28 10:50:57 -08:00
Roy Williams 33b81b9e2b Add MutableSet to collections (#691) 2016-11-24 11:39:00 +00:00
Roy Williams 8305d51e75 Add more specific types for requests.session.Session.mount and BaseAdapter (#674) 2016-11-10 11:14:30 -08:00
Roy Williams bfbe4f8540 Update lxml stubs to add Element.append and Element.text (#629) 2016-10-25 12:04:42 -07:00
Roy Williams b5e372bc7f Add stubs for itsdangerous. (#537)
This is needed for https://github.com/python/typeshed/issues/28
2016-09-18 14:40:18 -07:00
Roy Williams 5c52691954 Add more specific types for requests.sessions.Session (#524)
* Add more specific types for requests.sessions.Session

Once this is accepted I'd like to propegate these signatures to all of the
convience methods people actually use like get, post, put, etc...

* s/Optional[Union,/Union[None,/g
2016-09-09 12:23:32 -07:00
Roy Williams 07bf49f55a Add stubs for dateutil.relativedelta (#421) 2016-08-03 15:39:12 -07:00
Roy Williams fd66ff21ae Add __version__ to protobuf module (#429) 2016-08-01 21:32:03 -07:00