Content-Length: 287112 | pFad | http://github.com/Nasdaq/data-link-python/pull/22/commits/b7dca2b2e70145a73423881e05e4dcc61e4264b4

FF add AuthorizedSession by runawaycoast · Pull Request #22 · Nasdaq/data-link-python · GitHub
Skip to content

add AuthorizedSession #22

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean request payload
  • Loading branch information
runawaycoast committed Aug 16, 2022
commit b7dca2b2e70145a73423881e05e4dcc61e4264b4
4 changes: 4 additions & 0 deletions nasdaqdatalink/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ def execute_request(cls, http_verb, url, **options):
session = cls.get_session()

api_config = get_config_from_kwargs(options)

# clean the request payload
options.get('params', {}).pop('session', None)
options.get('params', {}).pop('api_config', None)
try:
response = session.request(method=http_verb,
url=url,
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Nasdaq/data-link-python/pull/22/commits/b7dca2b2e70145a73423881e05e4dcc61e4264b4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy