py2docfx 0.1.9.dev1929227__py3-none-any.whl → 0.1.9.dev1929293__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
py2docfx/__main__.py CHANGED
@@ -17,6 +17,8 @@ from py2docfx.convert_prepare.params import load_file_params, load_command_param
17
17
  from py2docfx.convert_prepare.package_info import PackageInfo
18
18
  import py2docfx.convert_prepare.environment as py2docfxEnvironment
19
19
 
20
+ os.chdir(PACKAGE_ROOT)
21
+
20
22
  def get_parser() -> argparse.ArgumentParser:
21
23
  parser = argparse.ArgumentParser(
22
24
  description=(
@@ -362,7 +364,6 @@ def main(argv) -> int:
362
364
  py2docfx_logger.info(msg)
363
365
 
364
366
  sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)),'docfx_yaml'))
365
- os.chdir(PACKAGE_ROOT)
366
367
  output_doc_folder = prepare_out_dir(output_root)
367
368
 
368
369
  try:
@@ -27,7 +27,7 @@ from .exceptions import (
27
27
  )
28
28
  from .jwks_client import PyJWKClient
29
29
 
30
- __version__ = "2.10.0"
30
+ __version__ = "2.10.1"
31
31
 
32
32
  __title__ = "PyJWT"
33
33
  __description__ = "JSON Web Token implementation in Python"
@@ -419,11 +419,11 @@ class PyJWT:
419
419
  if "iss" not in payload:
420
420
  raise MissingRequiredClaimError("iss")
421
421
 
422
- if isinstance(issuer, Sequence):
423
- if payload["iss"] not in issuer:
422
+ if isinstance(issuer, str):
423
+ if payload["iss"] != issuer:
424
424
  raise InvalidIssuerError("Invalid issuer")
425
425
  else:
426
- if payload["iss"] != issuer:
426
+ if payload["iss"] not in issuer:
427
427
  raise InvalidIssuerError("Invalid issuer")
428
428
 
429
429
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py2docfx
3
- Version: 0.1.9.dev1929227
3
+ Version: 0.1.9.dev1929293
4
4
  Summary: A package built based on Sphinx which download source code package and generate yaml files supported by docfx.
5
5
  Author: Microsoft Corporation
6
6
  License: MIT License
@@ -1,5 +1,5 @@
1
1
  py2docfx/__init__.py,sha256=kPRhPGPC1JknDotkksG428c1iIgfFr_4_7Jm-llrowY,72
2
- py2docfx/__main__.py,sha256=7UwcCulXqoywCzpuG-fJ8anwvF8YWlFyA6P9-CG0R_E,15006
2
+ py2docfx/__main__.py,sha256=uhzznSKIF9Y-aslF42_y4BqlGfkDIwPlnhYT6IDuqLc,15004
3
3
  py2docfx/convert_prepare/__init__.py,sha256=XxtxrP0kmW3ZBHIAoxsPDEHzcgeC0WSnole8Lk6CjKs,11
4
4
  py2docfx/convert_prepare/constants.py,sha256=RC5DqNkqWvx4hb91FrajZ1R9dBFLxcPyoEJ43jdm36E,102
5
5
  py2docfx/convert_prepare/environment.py,sha256=7EmlodXVG0S5wnn0_VFPwPJ_3OHfJfGpN33SUL3HSRI,7233
@@ -2417,11 +2417,11 @@ py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py,sha256=
2417
2417
  py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py,sha256=sDh2CdJvFQyRl4nESKvE_BD5RmS2LueTDKzo68yYXBU,6571
2418
2418
  py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py,sha256=NSLKDlBkyVHcAidp7KTAsR1aDwNLZDKsii1GdnTpsXk,6513
2419
2419
  py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py,sha256=DPRrNspfpfwJiNU9xXtFVn5Q09ufQxQ44zMIZObqxF0,4339
2420
- py2docfx/venv/venv1/Lib/site-packages/jwt/__init__.py,sha256=t4ls09ayVevWiOgfVTg_ArWm6mjMUyjkUJS0RzKGaO0,1711
2420
+ py2docfx/venv/venv1/Lib/site-packages/jwt/__init__.py,sha256=VB2vFKuboTjcDGeZ8r-UqK_dz3NsQSQEqySSICby8Xg,1711
2421
2421
  py2docfx/venv/venv1/Lib/site-packages/jwt/algorithms.py,sha256=cKr-XEioe0mBtqJMCaHEswqVOA1Z8Purt5Sb3Bi-5BE,30409
2422
2422
  py2docfx/venv/venv1/Lib/site-packages/jwt/api_jwk.py,sha256=6F1r7rmm8V5qEnBKA_xMjS9R7VoANe1_BL1oD2FrAjE,4451
2423
2423
  py2docfx/venv/venv1/Lib/site-packages/jwt/api_jws.py,sha256=aM8vzqQf6mRrAw7bRy-Moj_pjWsKSVQyYK896AfMjJU,11762
2424
- py2docfx/venv/venv1/Lib/site-packages/jwt/api_jwt.py,sha256=7TmATwZ4pon34XltU311mYuwoXAhAIXmamJD8WnHF7M,14517
2424
+ py2docfx/venv/venv1/Lib/site-packages/jwt/api_jwt.py,sha256=OGT4hok1l5A6FH_KdcrU5g6u6EQ8B7em0r9kGM9SYgA,14512
2425
2425
  py2docfx/venv/venv1/Lib/site-packages/jwt/exceptions.py,sha256=bUIOJ-v9tjopTLS-FYOTc3kFx5WP5IZt7ksN_HE1G9Q,1211
2426
2426
  py2docfx/venv/venv1/Lib/site-packages/jwt/help.py,sha256=vFdNzjQoAch04XCMYpCkyB2blaqHAGAqQrtf9nSPkdk,1808
2427
2427
  py2docfx/venv/venv1/Lib/site-packages/jwt/jwk_set_cache.py,sha256=hBKmN-giU7-G37L_XKgc_OZu2ah4wdbj1ZNG_GkoSE8,959
@@ -4180,7 +4180,7 @@ py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtas
4180
4180
  py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py,sha256=08ojAS48W6RLsUbRD45j0SJhg_Y2NFHZT6qjT4Vrig0,75
4181
4181
  py2docfx/venv/venv1/Scripts/pywin32_postinstall.py,sha256=u95n7QQUxpCjrZistYE-3gN451zXzopuJna8cXRQ4Jw,28115
4182
4182
  py2docfx/venv/venv1/Scripts/pywin32_testall.py,sha256=-6yvZmd2lPQc4e8i6PgLsr_totF6mScvoq0Jqr0V2fM,3844
4183
- py2docfx-0.1.9.dev1929227.dist-info/METADATA,sha256=AdTxA5oRejsOXyUNWzH-f_XtTaS1pKeZmgpjNrWCG0M,600
4184
- py2docfx-0.1.9.dev1929227.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4185
- py2docfx-0.1.9.dev1929227.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
4186
- py2docfx-0.1.9.dev1929227.dist-info/RECORD,,
4183
+ py2docfx-0.1.9.dev1929293.dist-info/METADATA,sha256=LDqDxpPgSjI-Z-iTKM4bRTuRbiJDAwaCif99Nw9KnRY,600
4184
+ py2docfx-0.1.9.dev1929293.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4185
+ py2docfx-0.1.9.dev1929293.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
4186
+ py2docfx-0.1.9.dev1929293.dist-info/RECORD,,