Skip to content

Commit

Permalink
docs(api): updates to API spec (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 14, 2025
1 parent 56aa67e commit 04aa2d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 21
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-efae0fba75d52fb4c68e8f0332de2486bea6777516ef5cc90163a7c504d95194.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-95e5c41bc4917566fc6ee1f849795bac2e34e5609afd25bb927252ac7e33e2f0.yml
7 changes: 7 additions & 0 deletions src/writerai/types/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from typing import Optional
from datetime import datetime
from typing_extensions import Literal

from .._models import BaseModel

Expand Down Expand Up @@ -34,5 +35,11 @@ class Graph(BaseModel):
name: str
"""The name of the graph."""

type: Literal["manual", "connector"]
"""
The type of graph, either `manual` (files are uploaded via UI or API) or
`connector` (files are uploaded via a connector).
"""

description: Optional[str] = None
"""A description of the graph."""

0 comments on commit 04aa2d8

Please sign in to comment.