File: public-type-aliases-f389506932adfa2c.yaml

package info (click to toggle)
python-requests-mock 1.12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 656 kB
  • sloc: python: 2,339; makefile: 162
file content (14 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
features:
  - |
    Exposes some public type aliases (for type hinting only, they can't be instanciated) 
    for the types intended to be used by `requests_mock` users. 
    The following types are now exposed:
    - `requests_mock.Context` used in callbacks
    - `requests_mock.Request` used in callbacks, which is a `requests.PreparedRequest` proxy.
    - `requests_mock.Callback[T]` which is the callbacks type.

fixes:
  - |
    Some typing inconsistencies have been fixed. 
    Especially for `request` object in signatures which is in fact a `requests_mock.Request` object.