updates
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import typing
|
||||
|
||||
EXCLUDE: typing.Final = "exclude"
|
||||
INCLUDE: typing.Final = "include"
|
||||
RAISE: typing.Final = "raise"
|
||||
|
||||
|
||||
class _Missing:
|
||||
def __bool__(self):
|
||||
return False
|
||||
|
||||
def __copy__(self):
|
||||
return self
|
||||
|
||||
def __deepcopy__(self, _):
|
||||
return self
|
||||
|
||||
def __repr__(self):
|
||||
return "<marshmallow.missing>"
|
||||
|
||||
def __len__(self):
|
||||
return 0
|
||||
|
||||
|
||||
missing: typing.Final = _Missing()
|
||||
Reference in New Issue
Block a user