Abstra

Latest version: v2.15.0

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

Scan your dependencies

Page 56 of 66

1.8.0

**Full Changelog**: https://github.com/abstra-app/abstra-lib/compare/v1.7.2...v1.8.0

1.7.2

🐛 fix windows `abstra serve ./relative-path` command

**Full Changelog**: https://github.com/abstra-app/abstra-lib/compare/v1.7.1...v1.7.2

1.7.1

**Full Changelog**: https://github.com/abstra-app/abstra-lib/compare/v1.7.0...v1.7.1

adding 🪟 windows compatibility

1.7.0

What does this PR do?

Active Record [docs](https://docs.abstra.io/tables/row)
python
naruto = crud_table.select_one(
where="email = :email",
params=dict(email="uzumaki.narutokonoha.jp"))
naruto.delete()

sakura = crud_table.select_one(
where="email = :email",
params=dict(email="haruno.sakurakonoha.jp"))

sakura["name"] = "Sakura"
sakura.save()


Insert single or multiple [docs](https://docs.abstra.io/tables/insert)
python
nswitch = consoles.insert(dict(name="Nintendo Switch"))

games.insert([
dict(name="God of War", console_id=ps4["id"]),
dict(name="Elden Ring", console_id=ps4["id"]),
dict(name="Metroid Dread", console_id=nswitch["id"]),
dict(name="Zelda - Breath of the Wild", console_id=nswitch["id"])
])


Join [docs](https://docs.abstra.io/tables/join)
python
consoles\
.join(games, on="games.console_id = consoles.id")\
.select(columns=[
"consoles.name",
"games.name"
])


python
<SqliteRow {
"consoles.name": "Nintendo Switch",
"games.name": "Zelda - Breath of the Wild",
}>


Extra
- 🦾 Using the same class SqliteTable for managing database + handling data
- ✨ Allow passing `SqliteColumn` instances as `type` parameter to new columns as a simple way to add references

**Full Changelog**: https://github.com/abstra-app/abstra-lib/compare/v1.6.5...v1.7.0

1.6.5

- Fix broken style on save button

**Full Changelog**: https://github.com/abstra-app/abstra-lib/compare/v1.6.4...v1.6.5

1.6.4

- Renaming python code file path will now rename the file on disk if new file path doesn't exist
- Fix Docs broken links
- Fix background and colors not appearing correctly on deployed apps

**Full Changelog**: https://github.com/abstra-app/abstra-lib/compare/v1.6.3...v1.6.4

Page 56 of 66

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.