robertmrk / aiosfstream

Salesforce Streaming API client for asyncio
MIT License
47 stars 31 forks source link

Env variables #11

Open ivanhtemp opened 5 years ago

ivanhtemp commented 5 years ago

It would be great to edit the variables TOKEN_URL, COMETD_PATH and API_VERSION. I had to clone the repo and change this values. BTW. great job. Very helpful.

robertmrk commented 5 years ago

Hi @ivanhtemp

I would consider making these constants configurable from the public API of the library (with the exception of API_VERSION), but I'm just not sure that I can come up with a use case for it.

Can you explain why was it necessary for you to change these values?

ivanhtemp commented 5 years ago

Hi @robertmrk . We are using another SalesForce environment for receiving events and we had to change these variables.