-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #1
- Loading branch information
Showing
31 changed files
with
281 additions
and
86 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# GENERATED CODE - DO NOT MODIFY | ||
from __future__ import annotations | ||
from chitose.xrpc import XrpcCallable | ||
from chitose.xrpc import XrpcSubscribe | ||
from .bsky import Bsky_ | ||
|
||
class App_: | ||
"""We recommend calling methods in this class via the :doc:`chitose.BskyAgent <chitose>` class instead of creating instances of this class directly.""" | ||
|
||
def __init__(self, call: XrpcCallable) -> None: | ||
def __init__(self, call: XrpcCallable, subscribe: XrpcSubscribe) -> None: | ||
self.call = call | ||
self.subscribe = subscribe | ||
|
||
@property | ||
def bsky(self): | ||
return Bsky_(self.call) | ||
return Bsky_(self.call, self.subscribe) |
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# GENERATED CODE - DO NOT MODIFY | ||
from __future__ import annotations | ||
from chitose.xrpc import XrpcCallable | ||
from chitose.xrpc import XrpcSubscribe | ||
|
||
class Embed_: | ||
"""We recommend calling methods in this class via the :doc:`chitose.BskyAgent <chitose>` class instead of creating instances of this class directly.""" | ||
|
||
def __init__(self, call: XrpcCallable) -> None: | ||
self.call = call | ||
def __init__(self, call: XrpcCallable, subscribe: XrpcSubscribe) -> None: | ||
self.call = call | ||
self.subscribe = subscribe |
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# GENERATED CODE - DO NOT MODIFY | ||
from __future__ import annotations | ||
from chitose.xrpc import XrpcCallable | ||
from chitose.xrpc import XrpcSubscribe | ||
|
||
class Richtext_: | ||
"""We recommend calling methods in this class via the :doc:`chitose.BskyAgent <chitose>` class instead of creating instances of this class directly.""" | ||
|
||
def __init__(self, call: XrpcCallable) -> None: | ||
self.call = call | ||
def __init__(self, call: XrpcCallable, subscribe: XrpcSubscribe) -> None: | ||
self.call = call | ||
self.subscribe = subscribe |
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# GENERATED CODE - DO NOT MODIFY | ||
from __future__ import annotations | ||
from chitose.xrpc import XrpcCallable | ||
from chitose.xrpc import XrpcSubscribe | ||
from .atproto import Atproto_ | ||
|
||
class Com_: | ||
"""We recommend calling methods in this class via the :doc:`chitose.BskyAgent <chitose>` class instead of creating instances of this class directly.""" | ||
|
||
def __init__(self, call: XrpcCallable) -> None: | ||
def __init__(self, call: XrpcCallable, subscribe: XrpcSubscribe) -> None: | ||
self.call = call | ||
self.subscribe = subscribe | ||
|
||
@property | ||
def atproto(self): | ||
return Atproto_(self.call) | ||
return Atproto_(self.call, self.subscribe) |
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
Oops, something went wrong.