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():
|
||||
setattr(self, key, value)
|
||||
|
||||
return self
|
||||
|
||||
@property
|
||||
def title(self) -> str:
|
||||
return self.claim.message.title
|
||||
|
@ -267,6 +269,8 @@ class Stream(BaseClaim):
|
|||
|
||||
super().update(**kwargs)
|
||||
|
||||
return self
|
||||
|
||||
@property
|
||||
def author(self) -> str:
|
||||
return self.message.author
|
||||
|
|
Loading…
Reference in a new issue