Method
__init__
(
self,
encoder: JsonDumpsFunc = JSON_DUMPS,
decoder: JsonLoadsFunc = JSON_LOADS,
**kwargs: Any,
)
Source from the content-addressed store, hash-verified
| 745 | SQL_TYPE = "NCLOB" |
| 746 | |
| 747 | def __init__( |
| 748 | self, |
| 749 | encoder: JsonDumpsFunc = JSON_DUMPS, |
| 750 | decoder: JsonLoadsFunc = JSON_LOADS, |
| 751 | **kwargs: Any, |
| 752 | ) -> None: |
| 753 | super().__init__(**kwargs) |
| 754 | self.encoder = encoder |
| 755 | self.decoder = decoder |
| 756 | if field_type := kwargs.get("field_type"): |
| 757 | self.field_type = field_type |
| 758 | |
| 759 | def to_db_value( |
| 760 | self, |
Callers
nothing calls this directly
Tested by
no test coverage detected