Closed gageorsburn closed 9 months ago
…he enum value
exception hit in prod: requests.exceptions.MissingSchema: Invalid URL 'BaseURL.BROKER_PRODUCTION/v1/accounts/XXXX-69da-44c2-bf62-37b29a9a2063/documents/XXXX-af19-45c1-8ad5-4313582caab0/download': No scheme supplied. Perhaps you meant https://BaseURL.BROKER_PRODUCTION/v1/accounts/XXXX-69da-44c2-bf62-37b29a9a2063/documents/XXXX-af19-45c1-8ad5-4313582caab0/download?
the behavior is like this:
(Pdb) self._base_url + "foo" 'https://broker-api.alpaca.marketsfoo/' (Pdb) f"{self._base_url}" 'BaseURL.BROKER_PRODUCTION'
@hiohiohio any chance I could get a review :)?
…he enum value
exception hit in prod: requests.exceptions.MissingSchema: Invalid URL 'BaseURL.BROKER_PRODUCTION/v1/accounts/XXXX-69da-44c2-bf62-37b29a9a2063/documents/XXXX-af19-45c1-8ad5-4313582caab0/download': No scheme supplied. Perhaps you meant https://BaseURL.BROKER_PRODUCTION/v1/accounts/XXXX-69da-44c2-bf62-37b29a9a2063/documents/XXXX-af19-45c1-8ad5-4313582caab0/download?
the behavior is like this: