-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update lexicons fetched from 41ee177 committed 2023-09-27T21:08:58Z (#…
…172)
- Loading branch information
Showing
50 changed files
with
1,135 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
################################################################## | ||
# THIS IS THE AUTO-GENERATED CODE. DON'T EDIT IT BY HANDS! | ||
# Copyright (C) 2023 Ilya (Marshal) <https://github.com/MarshalX>. | ||
# This file is part of Python atproto SDK. Licenced under MIT. | ||
################################################################## | ||
|
||
|
||
import typing as t | ||
|
||
import typing_extensions as te | ||
from pydantic import Field | ||
|
||
if t.TYPE_CHECKING: | ||
from atproto.xrpc_client import models | ||
from atproto.xrpc_client.models import base | ||
|
||
|
||
class Params(base.ParamsModelBase): | ||
|
||
"""Parameters model for :obj:`app.bsky.feed.searchPosts`.""" | ||
|
||
q: str #: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. | ||
cursor: t.Optional[ | ||
str | ||
] = None #: optional pagination mechanism; may not necessarily allow scrolling through entire result set. | ||
limit: t.Optional[int] = Field(default=25, ge=1, le=100) #: Limit. | ||
|
||
|
||
class ParamsDict(te.TypedDict): | ||
q: str #: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. | ||
cursor: te.NotRequired[ | ||
t.Optional[str] | ||
] #: optional pagination mechanism; may not necessarily allow scrolling through entire result set. | ||
limit: te.NotRequired[t.Optional[int]] #: Limit. | ||
|
||
|
||
class Response(base.ResponseModelBase): | ||
|
||
"""Output data model for :obj:`app.bsky.feed.searchPosts`.""" | ||
|
||
posts: t.List['models.AppBskyFeedDefs.PostView'] #: Posts. | ||
cursor: t.Optional[str] = None #: Cursor. | ||
hits_total: t.Optional[int] = Field( | ||
default=None, alias='hitsTotal' | ||
) #: count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
################################################################## | ||
# THIS IS THE AUTO-GENERATED CODE. DON'T EDIT IT BY HANDS! | ||
# Copyright (C) 2023 Ilya (Marshal) <https://github.com/MarshalX>. | ||
# This file is part of Python atproto SDK. Licenced under MIT. | ||
################################################################## | ||
|
||
|
||
import typing as t | ||
|
||
import typing_extensions as te | ||
from pydantic import Field | ||
|
||
if t.TYPE_CHECKING: | ||
pass | ||
from atproto.xrpc_client.models import base | ||
|
||
|
||
class SkeletonSearchPost(base.ModelBase): | ||
|
||
"""Definition model for :obj:`app.bsky.unspecced.defs`.""" | ||
|
||
uri: str #: Uri. | ||
|
||
py_type: te.Literal['app.bsky.unspecced.defs#skeletonSearchPost'] = Field( | ||
default='app.bsky.unspecced.defs#skeletonSearchPost', alias='$type', frozen=True | ||
) | ||
|
||
|
||
class SkeletonSearchActor(base.ModelBase): | ||
|
||
"""Definition model for :obj:`app.bsky.unspecced.defs`.""" | ||
|
||
did: str #: Did. | ||
|
||
py_type: te.Literal['app.bsky.unspecced.defs#skeletonSearchActor'] = Field( | ||
default='app.bsky.unspecced.defs#skeletonSearchActor', alias='$type', frozen=True | ||
) |
47 changes: 47 additions & 0 deletions
47
atproto/xrpc_client/models/app/bsky/unspecced/search_actors_skeleton.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
################################################################## | ||
# THIS IS THE AUTO-GENERATED CODE. DON'T EDIT IT BY HANDS! | ||
# Copyright (C) 2023 Ilya (Marshal) <https://github.com/MarshalX>. | ||
# This file is part of Python atproto SDK. Licenced under MIT. | ||
################################################################## | ||
|
||
|
||
import typing as t | ||
|
||
import typing_extensions as te | ||
from pydantic import Field | ||
|
||
if t.TYPE_CHECKING: | ||
from atproto.xrpc_client import models | ||
from atproto.xrpc_client.models import base | ||
|
||
|
||
class Params(base.ParamsModelBase): | ||
|
||
"""Parameters model for :obj:`app.bsky.unspecced.searchActorsSkeleton`.""" | ||
|
||
q: str #: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax. | ||
cursor: t.Optional[ | ||
str | ||
] = None #: optional pagination mechanism; may not necessarily allow scrolling through entire result set. | ||
limit: t.Optional[int] = Field(default=25, ge=1, le=100) #: Limit. | ||
typeahead: t.Optional[bool] = None #: if true, acts as fast/simple 'typeahead' query. | ||
|
||
|
||
class ParamsDict(te.TypedDict): | ||
q: str #: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax. | ||
cursor: te.NotRequired[ | ||
t.Optional[str] | ||
] #: optional pagination mechanism; may not necessarily allow scrolling through entire result set. | ||
limit: te.NotRequired[t.Optional[int]] #: Limit. | ||
typeahead: te.NotRequired[t.Optional[bool]] #: if true, acts as fast/simple 'typeahead' query. | ||
|
||
|
||
class Response(base.ResponseModelBase): | ||
|
||
"""Output data model for :obj:`app.bsky.unspecced.searchActorsSkeleton`.""" | ||
|
||
actors: t.List['models.AppBskyUnspeccedDefs.SkeletonSearchActor'] #: Actors. | ||
cursor: t.Optional[str] = None #: Cursor. | ||
hits_total: t.Optional[int] = Field( | ||
default=None, alias='hitsTotal' | ||
) #: count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits. |
45 changes: 45 additions & 0 deletions
45
atproto/xrpc_client/models/app/bsky/unspecced/search_posts_skeleton.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
################################################################## | ||
# THIS IS THE AUTO-GENERATED CODE. DON'T EDIT IT BY HANDS! | ||
# Copyright (C) 2023 Ilya (Marshal) <https://github.com/MarshalX>. | ||
# This file is part of Python atproto SDK. Licenced under MIT. | ||
################################################################## | ||
|
||
|
||
import typing as t | ||
|
||
import typing_extensions as te | ||
from pydantic import Field | ||
|
||
if t.TYPE_CHECKING: | ||
from atproto.xrpc_client import models | ||
from atproto.xrpc_client.models import base | ||
|
||
|
||
class Params(base.ParamsModelBase): | ||
|
||
"""Parameters model for :obj:`app.bsky.unspecced.searchPostsSkeleton`.""" | ||
|
||
q: str #: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. | ||
cursor: t.Optional[ | ||
str | ||
] = None #: optional pagination mechanism; may not necessarily allow scrolling through entire result set. | ||
limit: t.Optional[int] = Field(default=25, ge=1, le=100) #: Limit. | ||
|
||
|
||
class ParamsDict(te.TypedDict): | ||
q: str #: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. | ||
cursor: te.NotRequired[ | ||
t.Optional[str] | ||
] #: optional pagination mechanism; may not necessarily allow scrolling through entire result set. | ||
limit: te.NotRequired[t.Optional[int]] #: Limit. | ||
|
||
|
||
class Response(base.ResponseModelBase): | ||
|
||
"""Output data model for :obj:`app.bsky.unspecced.searchPostsSkeleton`.""" | ||
|
||
posts: t.List['models.AppBskyUnspeccedDefs.SkeletonSearchPost'] #: Posts. | ||
cursor: t.Optional[str] = None #: Cursor. | ||
hits_total: t.Optional[int] = Field( | ||
default=None, alias='hitsTotal' | ||
) #: count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits. |
Oops, something went wrong.