We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
_key
_BatchWriter
# reprex.py import os import scrapinghub store = ( scrapinghub.ScrapinghubClient(os.getenv('SH_APIKEY')) .get_project(1234567890) .collections.get_store("ok_to_mess_around_with") ) writer = store.create_writer() writer.write({"foo": "bar"}) print("write") writer.write({"fizz": "buzz"}) print("write") writer.flush() print("flush")
python reprex.py write write ^CTraceback (most recent call last): ... KeyboardInterrupt
import os import scrapinghub store = ( scrapinghub.ScrapinghubClient(os.getenv('SH_APIKEY')) .get_project(1234567890) .collections.get_store("ok_to_mess_around_with") ) writer = store.create_writer() writer.write({"_key": "foo", "foo": "bar"}) print("write") writer.write({"_key": "fizz", "fizz": "buzz"}) print("write") writer.flush() print("flush")
python reprex.py write write flush
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Failing
Passing
The text was updated successfully, but these errors were encountered: