Roman KlimenkoBlogPhotography

cluedin 2.3.0

February 05, 2024

cluedindatapython

cluedin – a Python library to work with CluedIn – a data management platform. It adds a new method to send GraphQL requests to the Organization endpoint.

GraphQL

  • cluedin.gql.entries(context: Context, query: str, variables: dict = None, flat=False) -> list – returns entries from a GraphQL search query. If cursor is requested in the GraphQL query (see the example above and tests), then it proceeds to next pages to return all results. If flat is True, then it flattens the properties dictionary of each returned entity.

JSON

  • dump(file: str, obj: Any) -> None – serialize obj as a JSON formatted stream to file.
  • load(file: str) -> Any – deserialize file to a Python object.

Full Changelog: https://github.com/romaklimenko/cluedin/compare/2.2.0...2.3.0