forked from LBRYCommunity/lbry-sdk
schema chaining
This commit is contained in:
parent
fd2f9846e9
commit
2309d6354c
1 changed files with 4 additions and 0 deletions
|
@ -151,6 +151,8 @@ class BaseClaim:
|
||||||
for key, value in kwargs.items():
|
for key, value in kwargs.items():
|
||||||
setattr(self, key, value)
|
setattr(self, key, value)
|
||||||
|
|
||||||
|
return self
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def title(self) -> str:
|
def title(self) -> str:
|
||||||
return self.claim.message.title
|
return self.claim.message.title
|
||||||
|
@ -267,6 +269,8 @@ class Stream(BaseClaim):
|
||||||
|
|
||||||
super().update(**kwargs)
|
super().update(**kwargs)
|
||||||
|
|
||||||
|
return self
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def author(self) -> str:
|
def author(self) -> str:
|
||||||
return self.message.author
|
return self.message.author
|
||||||
|
|
Loading…
Reference in a new issue