Fastorm

Latest version: v0.0.17

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

Scan your dependencies

Page 2 of 3

0.0.11

- 🔨 Fixed equality checking on deduplication if only one of them was a `ForwardRef`.
- 🔨 Fixed upgrading of `Any` failing.

0.0.10

- 🔨 Fixed `SELECT` syntax for table references
- 🔨 Fixed `INSERT`, `UPDATE`, `SELECT`, `DELETE` for new field syntax (where a field referencing `OtherTable.id` would be called `other_table__id`).
- 🔨 Fixed `from_row(â€Ļ)` if you used namespaces (those from `get_select_fields(namespace="â€Ļ")`)
- ✅ Improved test coverage to pretty much everything.

0.0.9

- 🆕 Added caching for `get_fields_typehints(â€Ļ)` and `get_fields_references(â€Ļ)`.
- 🔨 Fixed error if you used a `ForwardRef` to reference a model not yet defined.
- ⚠ī¸ Extracted the referencing part from the create stable stuff (`create_table(â€Ļ)` and `build_sql_create(â€Ļ)`). That way they can be executed independently (`create_table_references(â€Ļ)` and `build_sql_references(â€Ļ)`), so you can first create all the tables and then add the references.

0.0.8

- 🆕 added `get_connection_pool(â€Ļ)` to get a connection pool ready to use.
- ⚠ī¸ renamed `get_connection(â€Ļ)` to `create_connection(â€Ļ)`. To fit the naming of `get_connection_pool(â€Ļ)`.
- 🔨 Fixed invalid `SELECT` query if there were no parameters given to `.select(â€Ļ)` (or the underlying `.build_sql_select(â€Ļ)`).
- Empty selectors will continue to be allowed for `.get(â€Ļ)` as well, to keep that funny case possible, where there's only one row in a table and you wanna simply `SomeTable.get()` it.

0.0.7

- 🔨 Fix for CREATE table statement not allowing for a prepared statement, and thus needing the escaping of values.
- ℹī¸ Needs psycopg2 installed for complex types (everything other than None, bool, int, and pure ascii strings)
- 🆕 Added support for `PRIMARY KEY`(`S`).
- 🆕 Added support for creating `REFERENCES` to other tables.

0.0.6

- 🆕 Handle `Optional[Table, <Table Primary Key Type>]` for references.
- Works for referencing other tables with a multi-field primary key, too.
- Added lots of unit tests and also fix bugs found by this
- 🆕 added support for multiple primary keys in most places now
- 🔨 fixes for errors/wonkyness introduced by using pydantic's BaseModel.

Page 2 of 3

Š 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.