You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| __author__ = 'mbrzustowicz' | |
| # metadata.json has single quotes like this | |
| # {'asin': 'B00M0AEPXG', 'imUrl': 'http://ecx.images-amazon.com/images/I/51hcXTUeHLL._BO2,204,203,200_ ..... } | |
| # so the strategy is to read each line as a string, and dump into a REAL json file | |
| import json | |
| import ast | |
| fr=open("/Users/mbrzustowicz/Downloads/metadata.json") |
| import React, { useState } from 'react'; | |
| import { fetchEventSource, EventStreamContentType } from '@microsoft/fetch-event-source'; | |
| class RetriableError extends Error { } | |
| class FatalError extends Error { } | |
| function SseForm() { | |
| const [inputValue, setInputValue] = useState(''); | |
| const handleSubmit = async (e) => { |