typesystem icon indicating copy to clipboard operation
typesystem copied to clipboard

Data validation, serialization, deserialization & form rendering. 🔢

Results 30 typesystem issues
Sort by recently updated
recently updated
newest added

Hi. I found a subtle bug in the `__init__` parameters of Object type. Then i shared the bug at the community discussions ![Screenshot_20220707_064932](https://user-images.githubusercontent.com/96727989/177676074-520b079f-9214-4a8e-8803-cb2dc8be1069.png) and i got the answer to make...

import apistar import yaml import json from apistar import Link from typesystem import to_json_schema def get_link(link: Link): _data = {} for field in link.fields: _data[field.name] = to_json_schema(field.schema) return _data #_data[link.fields[1].name]...

- #115 #116 file field - #128 @aminalaee , docs build failed.

* We'll want to mark up our error messages as translatable strings. * Support an `errors = {}` argument for overriding the error strings. * Support `errors` as an attribute...

Would it be possible for the `Choice` class to include a list of acceptable choices in the validation error output? Here is a snippet doing this using subclassing. ```python import...

feature

Hello. Is there a way to create a typesystem class one of the attributes to be represented in HTML forms as Radiobutton? ![image](https://user-images.githubusercontent.com/19948672/73526729-de74e100-4422-11ea-8eb0-99daed030be8.png) For now I use Choice but Radiobutton...

feature

I'm using JSON schema with [React JSONSchema Forms](https://github.com/rjsf-team/react-jsonschema-form) to create forms automatically. Currently, `typesystem` doesn't emit metadata like `title` or `description` into the rendered schema for fields (or schema objects)....

hi, i may be wrong here, but the code in https://github.com/encode/hostedapi/blob/26e5ea6713f7d33433ca5ff962353fbffa6e88be/source/datasource.py is actually parsing sqlalchemy models and creating typesystem classes from them. can this functionality be made part of typesystem...