Fpt-api

Latest version: v0.3.5

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

Scan your dependencies

Page 2 of 2

0.2.1

Added support for dotted query fields, e.g. `entity.Shot.sg_query_field`

Added this example to the readme

Get the value of a dotted query field
version = fpt.find_one(
"Version",
[["id", "is", 1234]],
["entity.Shot.sg_assets_count"]
)

0.2.0

Description
The wrapper for `find` is great, but you have to wait for all the results of the `find` to be ready with their query fields in order to get the results.
Introducing `yield_find`, which allows to yield results as soon as they're available.

Updated README with the two use cases:


Find multiple shots (returns all results at once)
shots = fpt.find(
"Shot",
[["id", "in", [1234, 12345]]],
["code", "sg_status_list", "sg_query_field"]
)

Stream results one by one
for shot in fpt.yield_find(
"Shot",
[["id", "in", [1234, 12345]]],
["code", "sg_status_list", "sg_query_field"]
):
process_shot(shot) Process each shot as it becomes ready


What's Changed
* Added yield_find by ksallee in https://github.com/ksallee/fpt-api/pull/1

New Contributors
* ksallee made their first contribution in https://github.com/ksallee/fpt-api/pull/1

**Full Changelog**: https://github.com/ksallee/fpt-api/compare/0.1.2...0.2.0

0.1.2

Dependency to shotgun_api3 causes issues because it's not in pypi

0.1.1

Description

first working version with updated readme.

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.