nautobot / pynautobot

Nautobot Python SDK
https://pynautobot.readthedocs.io/en/latest/index.html
Apache License 2.0
36 stars 32 forks source link

Added graphql run method for query objects #233

Open tsm1th opened 1 week ago

tsm1th commented 1 week ago

This would close #232 if approved.

Usage:

query = nb.extras.graphql_queries.get("example")
query.run(
    variables={"foo": "bar"})
)
joewesch commented 1 week ago

Let's add something to the docs as well, please.