Gensaschema

Latest version: v0.6.8

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.6.2

*) Add support for python 3.7

*) Revise the setup and build system

0.6.1

*) Add support for nested type reflection

*) Fall back to generic types module if dialect lookup fails

*) Add flake8 hint to the template in order to ignore generated schema files

0.6.0

*) First beta release

*) Allow for custom repr functions per type or type instance. This is most
useful for separated type definitions. This is modeled as a mapping from
type to repr function, where the type can be a type instance, a type class
or a type class name. The repr function is called with the type instance,
the dialect and the symbol table. It's expected to return a string.

*) Improved error handling for symbol injection. If a symbol is added multiple
times it only throws a conflict error on conflict (not always). Also allow
for `'symbol' in symbols` check.

*) Allow for custom type definitions on top of the table definitions. This is
modeled as a list of definer functions stored in symbols.types.defines (a
list). The functions are called in order with the dialect name and the
symbol table and are expected to return a list of lines to emit.

*) Added hook for unknown type injection, make the `Type` wrapper part of the
public API for that reason

*) Ignore SA warning about expressional and partial index reflections
[sebastianseitz]

0.5.4

*) Fixed symbol table creation without any extra symbols

*) More python3 fixes:
- Fixed one itervalues() leftover
- use inspect.signature() if available, instead of .getargspec()
- Fix constraint ordering (cmp() ./. Py3)

0.5.3

*) Type instances were not being inspected properly (leftover from py3
transition)

0.5.2

*) Various python3 fixes

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.