Subgrounds

Latest version: v1.9.1

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

Scan your dependencies

Page 5 of 5

0.1.1

Fix
- Scalar lists were not handled properly

0.1.0

Feature
- Partial fieldpaths
- Querying partial fieldpaths will automatically select all non-list fields of the fieldpath leaf.
- For example, using the Ribbon V2 subgraph, the following Subgrounds query:

py
sg.query_df([
ribbon.Query.vaults
])


will result in the following query being made to the subgraph:

graphql
query {
vaults {
id
name
symbol
underlyingAsset
underlyingName
underlyingSymbol
underlyingDecimals
totalPremiumEarned
totalNominalVolume
totalNotionalVolume
numDepositors
totalBalance
cap
round
performanceFeeCollected
managementFeeCollected
totalFeeCollected
}
}


- Code completion
- When using Subgrounds in Jupyter notebooks and a subgraph has been loaded in a previous cell, fieldpaths will now autocomplete.

0.0.9

Feature
* `Subgrounds.load_api`
* Allows you to safely query non-subgraph GrahpQL APIs with Subgrounds!
* New boolean flag argument, `auto_paginate`, in `Subgrounds.query`, `Subgrounds.query_json` and `Subgrounds.query_df`
* Selectively disable automatic pagination

Documentation
* Refactor, cleanup and add tons of docstrings

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.