corehttp 1.0.0b4__py3-none-any.whl → 1.0.0b5__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.
corehttp/_version.py CHANGED
@@ -9,4 +9,4 @@
9
9
  # regenerated.
10
10
  # --------------------------------------------------------------------------
11
11
 
12
- VERSION = "1.0.0b4"
12
+ VERSION = "1.0.0b5"
@@ -61,7 +61,7 @@ def parse_retry_after(retry_after: str) -> float:
61
61
  """
62
62
  delay: float # Using the Mypy recommendation to use float for "int or float"
63
63
  try:
64
- delay = int(retry_after)
64
+ delay = float(retry_after)
65
65
  except ValueError:
66
66
  # Not an integer? Try HTTP date
67
67
  retry_date = _parse_http_date(retry_after)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: corehttp
3
- Version: 1.0.0b4
3
+ Version: 1.0.0b5
4
4
  Summary: CoreHTTP Library for Python
5
5
  Home-page: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/corehttp
6
6
  Author: Microsoft Corporation
@@ -87,6 +87,12 @@ additional questions or comments.
87
87
 
88
88
  # Release History
89
89
 
90
+ ## 1.0.0b5 (2024-02-29)
91
+
92
+ ### Other Changes
93
+
94
+ - Accept float for `retry_after` header.
95
+
90
96
  ## 1.0.0b4 (2024-02-23)
91
97
 
92
98
  ### Other Changes
@@ -1,6 +1,6 @@
1
1
  corehttp/__init__.py,sha256=Wdidh085sV_IhdV_wU79t7FpghhpyxCsRnZGOUoQ0xs,1443
2
2
  corehttp/_match_conditions.py,sha256=3TIhb4vBO1hBe7MaQwS_9i-d6p7o4jn5L6M-OiQahkg,1864
3
- corehttp/_version.py,sha256=czqMo1HbJklx_rR71b13ZDZXzCacoFzk4G0ZzqDEs1g,494
3
+ corehttp/_version.py,sha256=Adx1gY_uaehKHdReRn2zLYGyMjbGV43k9smdJngNeLo,494
4
4
  corehttp/credentials.py,sha256=xx94AN5Nekiz3SNHJNV6ncS2o4ObCc5U_Ya62QzTfaM,5237
5
5
  corehttp/exceptions.py,sha256=qSqzPJVD_ufGO5HEAbNY8BNmVUoXPCgBeVrw195QvF4,11554
6
6
  corehttp/paging.py,sha256=zI-fFLBUgMRZmFegD2T6Q52s_3PFDb6lLjtR7-XSZDc,9520
@@ -31,7 +31,7 @@ corehttp/runtime/policies/_base_async.py,sha256=nOZ-3lrKmfnFam3FbSY4wd9sOI7r5pI2
31
31
  corehttp/runtime/policies/_retry.py,sha256=vM40m1JSD-l6yBclxmQV06_ZOK4WAcy1PTqQQpTr3ts,24367
32
32
  corehttp/runtime/policies/_retry_async.py,sha256=rsVFxlQMDyU1Z34FKd1trfxj2VkwGt-Ap7uqiErMeAc,9131
33
33
  corehttp/runtime/policies/_universal.py,sha256=6qfC2MAQbp1KQgWnbbcBKuwprzEZaftx7tfY6QuHmpo,19835
34
- corehttp/runtime/policies/_utils.py,sha256=ZODnUkPKLQOfVghqkijm8ifkrCl1oVakGafSGEJBGKA,3594
34
+ corehttp/runtime/policies/_utils.py,sha256=kDnGRpC3MxsW7zHZRfkLyPMArlzY4n7vBhwQQVWKQuI,3596
35
35
  corehttp/transport/__init__.py,sha256=6A1i9gjM5isBPb-AL-2JTzxn7pssDj8ux9Ujn6rHjlY,1442
36
36
  corehttp/transport/_base.py,sha256=5gFTZ1u--3Ik9DyrAe10RtObasd-OXX1y9sRSkbvoyY,5107
37
37
  corehttp/transport/_base_async.py,sha256=9zl1Sa8Vm6QBdn8Nf-J3w2qZ-wsjcV9bv1EX5Jr28w4,3827
@@ -45,8 +45,8 @@ corehttp/transport/requests/_requests_basic.py,sha256=ChsXobJeBdwLTnNnDzWLZi5JYV
45
45
  corehttp/utils/__init__.py,sha256=_h2vJje1Tb-w_9mXm0hO_s2S1b48HLzI4taIlvz3Eu4,1648
46
46
  corehttp/utils/_enum_meta.py,sha256=l2K1mZfpwljsruKxknabYckl0ZbsVftOxfbRhpzF_-s,2816
47
47
  corehttp/utils/_utils.py,sha256=TN2IplPve8b6xJPMvIVE-2oF3u_SK89XtYmCb70UDr4,6063
48
- corehttp-1.0.0b4.dist-info/LICENSE,sha256=_VMkgdgo4ToLE8y1mOAjOKNhd0BnWoYu5r3BVBto6T0,1073
49
- corehttp-1.0.0b4.dist-info/METADATA,sha256=fEUTeY68XZTRZUKIgjKo9kVLG6dhD4N5kV0HURlfRZE,5277
50
- corehttp-1.0.0b4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
51
- corehttp-1.0.0b4.dist-info/top_level.txt,sha256=NAGJ-rIA_vW2ZJghxC5NqIbnfrXDBMmE-TAd-9ud4i4,9
52
- corehttp-1.0.0b4.dist-info/RECORD,,
48
+ corehttp-1.0.0b5.dist-info/LICENSE,sha256=_VMkgdgo4ToLE8y1mOAjOKNhd0BnWoYu5r3BVBto6T0,1073
49
+ corehttp-1.0.0b5.dist-info/METADATA,sha256=aTKL6zrEYPPerCUAbEj_uhl07Ex2CsbndYBd3nwjShA,5363
50
+ corehttp-1.0.0b5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
51
+ corehttp-1.0.0b5.dist-info/top_level.txt,sha256=NAGJ-rIA_vW2ZJghxC5NqIbnfrXDBMmE-TAd-9ud4i4,9
52
+ corehttp-1.0.0b5.dist-info/RECORD,,