You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tag:
Branch:
Tree:
c900bce1b0
alfa-romeo
all-your-long-are-belong-to-us
bob-test
c2-fw-updates
c2vw-master
cc-curvature
cherokee_kl
chrysler-fw-morganmastiff
chrysler-jgc-fix
chrysler-jgc-uds-fp
controls-smooth-startup
deprecate-no-steer-angle
devel
doc-gen-migration
drive-mode-refactor
e-up-test
e2e-mpc-tweak
enable-pq
extra-cars3
faw-hongqi-hs5
fca-giorgio
fix-no-steering-angle
fix-notebooks
gm-handle-resume
hkg-fw-leycera
hkg-gear-message-notebook
inactive-accel-fix
joyride
lets-get-piffy
macan
master
master-ci
mlb-s4
mqb-accel-override
mqb-accel-override-fix
mqb-alig
mqb-engage-at-standstill
mqb-fpv2-temp
mqb-freewheeling
mqb-fw-andromeda
mqb-fw-baldboi
mqb-fw-rhadeur
mqb-fw-sajjad2
mqb-fw-ziggehh
mqb-hca-update
mqb-long
mqb-long-testing
mqb-long-tuning
mqb-ppcars
mqb-test-pete
mqb-torque
mqbevo-gti
mqbevo-test
mqbevo-upstream
odyssey-test
peanut-butter-jelly-time
pj-view-ci-routes
pq-caddy
pq-fpv2-temp
rivian
secoc-test
slow-your-roll
sr-patch
ssgo
stuff
subaru-puttputt7-fw
support-guidelines
temp-pq
toyota-security-docs
vision-acc-fixes
vw-community-devel
vw-community-devel-la
vw-devel
vw-meb
vw-mlb
vw-mqb-aeb
vw-mqb-eps-timer-cleanup
vw-opp-reset
vw-pq-mlb-opp-reset
vw-rp-test
x-0710-jm
x-andyml
x-archive-community-master-merge
x-archive-release2
x-archive-vw-061
x-archive-vw-063-devel
x-archive-vw-064-devel
x-archive-vw-065-devel
x-archive-vw-065-devel2
x-archive-vw-community-devel
x-archive-vw-community-devel-pq
x-golf3
x-jy-temp
x-jy-temp2
x-jy-temp3
x-la-test
x-lftt
x-params-test
x-params-test2
xavvypls-test
yukon-test
v0.1
v0.2
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.2.9
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.4.0.2
v0.4.1
v0.4.2
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.5.9
${ noResults }
* Fix for issue #19776 PyJWT 2.0.0 does not return `bytes` for `encode()` instead returns `str`. So converted the `str` to `bytes` and returned the resulting value * added check for jwt.encode return type * Update __init__.py * Updated with suggested change * Test to check return type of get_token() The `get_token()` must return a `str` but for PyJWT version < 2.0.0 the `jwt.encode()` returns `bytes`. This test is to make sure if token returned by `get_token()` is `str`. * Update test_get_token.py * Update test_get_token.py * Delete test_get_token.py Co-authored-by: Willem Melching <willem.melching@gmail.com> |
4 years ago | |
---|---|---|
.. | ||
__init__.py | Fix jwt.encode return type (#19776) (#19958) | 4 years ago |