-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for streams without data: publish
without --file_path
and then claim search
using --has_no_source
#3218
Conversation
1ee591c
to
d7e3108
Compare
--no_file
param to publish
, stream_create
, and stream_update
--no_file_path
param to publish
, stream_create
, and stream_update
111fc32
to
85509be
Compare
lbry/wallet/server/db/writer.py
Outdated
@@ -55,6 +55,7 @@ class SQLDB: | |||
description text, | |||
|
|||
claim_type integer, | |||
no_source bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of adding a no_source
field, would it be more flexible to add a source
field with the actual source, that would have the added benefit of being able to search for claims with particular source?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source
is a dictionary with more than one field right? unless you have one of them in mind.
I like the idea but it would be nice to do this in a way where we don't need one column for each subitem. (something like a flattened field maybe)
--no_file_path
param to publish
, stream_create
, and stream_update
publish
, stream_create
, and stream_update
work without a file_path argument
8d1e3a1
to
5de8493
Compare
publish
, stream_create
, and stream_update
work without a file_path argumentpublish
streams without --file_path
and claim search
using --no_source
publish
streams without --file_path
and claim search
using --no_source
publish
without --file_path
and then claim search
using --has_no_source
3ee19b0
to
1632d2b
Compare
fixes #3180