Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Autogenerate Query classes * handle Python reserved keywords such as from * replace long deprecated 'filtered' query from tests * minor code generation updates * more code generation updates * address typing issues * clean up code generation templates * more code generator cleanup * add a unit test using some of the generated classes * no need to "reset" the interface list * use the transport's DEFAULT type * include inherited properties in docstrings and constructors * support legacy FieldValueFactor name for FieldValueFactorScore * Update utils/generator.py Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com> * use the identity operator to check for defaults * rename interfaces.py to types.py * leave undocumented classes and attributes with an empty docstring * add unit test for AttrDict with from reserved keyword * add a dependency on the transport library * Update utils/generator.py Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com> * list required arguments first in types.py * add server defaults to argument docstrings * remove unnecessary quotes from type hints in types.py * Update utils/templates/types.py.tpl Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com> * Update utils/generator.py Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com> * Update utils/generator.py Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com> * final round of review improvements --------- Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com> (cherry picked from commit bacfc74) Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
- Loading branch information