Half-orm

Latest version: v0.11.0

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

Scan your dependencies

Page 1 of 13

0.11

BREAKING CHANGE

The `ho_join` methode has been removed. Use foreign keys instead. The old code (see README):

python
lagaffe = Person(last_name='Lagaffe')
res = lagaffe.ho_join(
(Comment(), 'comments', ['id', 'post_id']),
(Post(), 'posts', 'id')
)


becomes:

python
res = []
lagaffe = Person(last_name='Lagaffe')
for idx, pers in enumerate(lagaffe):
res.append(pers)
res[idx] = {}
posts = Person(**pers).post_rfk()
res[idx]['posts'] = list(posts.ho_select('id'))
res[idx]['comments'] = list(posts.comment_rfk().ho_select('id', 'post_id'))



* [README] Use of pepy.tech for download badge. (2764dc2)
* [README] ... (6188323)
* [README] Update links on badges. (e7a0ba2)
* --- updated-dependencies: - dependency-name: requests dependency-type: indirect ... (ef93b05)
* Update README.md (219f194)
* Python 3.6 is not supported by github actions/setup-pythonv5. Stop testing on github. Python 3.6 is tested on Gitlab. (3552ec3)
* [info] Python 3.6 is supported. (53a3d79)
* Update license. (c2b28e6)
* [doc] Why half_orm. (d4fb6b2)
* [relation][BREAKING CHANGE] Remove ho_join. See README.md. (76d44b1)

0.10.5

* [hop] now generates the ho_dataclasses module containing a dataclass for each relation/view in the model. (57b0e84)

0.10.4

* [relation] Check that the value is valid for ho_limit an ho_offset methods. (cdc6e9b)

0.10.3

* [hop] Remove last reference to half-orm-packager in Pipfile template. (11b79a0)

0.10.2

* [hop] Remove references to obsolete half_orm_packager. (5b2a234)

0.10.1

* [hop] Fix. hop new was broken with devel option on an existing database. (02466c8)

Page 1 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.