Files
pydantic/docs/examples
Matin Tamizi 0c5793770b PaymentCardNumber type (#790)
* initial proposal of payment card validation #788

* some cleanup for PaymentCardNumber #788

* fix linting issues

* tests and more robust errors #788

* fixed linting

* fixing mypy errors

* let's try this to make mypy work

* make consistent with cpython tests

* avoid using __new__

* use __init__ instead of properties

* clean up PaymentCardNumber.__init__

* use ClassVar where applicable

* add to changes/

* turns out this is never used

* get brand for other

* clean up a bit

* make PaymentCardNumber private

* use if/else to make faster in cython

* card_number => card number in errors

* make it clearer in the tests which exception is being raised

* parameterize tests for PaymentCardNumber

* lint

* clean up merge mistake from earlier

* fix mypy test error

* take out commented line

* update comment since code is moved

* docs for PaymentCardNumber

* clean up docs for PaymentCardNumber

* var name that makes more sense
2019-09-17 10:33:11 +01:00
..
2019-08-10 12:00:29 +01:00
2018-08-25 17:06:32 +01:00
2018-02-06 13:56:45 +00:00
2019-05-22 13:14:35 +01:00
2018-10-01 09:48:28 +01:00
2018-08-29 10:38:02 +01:00
2019-08-21 13:13:46 +01:00
2018-06-04 10:55:48 +01:00
2019-09-02 11:37:33 +01:00
2019-07-23 16:40:28 +01:00
2019-07-23 16:40:28 +01:00
2019-07-23 16:40:28 +01:00
2017-06-21 18:15:08 +01:00
2018-06-18 12:20:10 +01:00
2019-08-05 09:47:15 -05:00
2017-11-07 11:26:16 +00:00
2019-09-02 11:37:33 +01:00
2019-09-02 11:37:33 +01:00
2019-09-02 11:37:33 +01:00
2017-11-08 14:37:01 +00:00
2018-06-24 17:52:56 +01:00