python-cloudkittyclient 5.0.0__py3-none-any.whl → 5.2.0__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.
@@ -19,8 +19,6 @@ class ReprocessingManager(base.BaseManager):
19
19
 
20
20
  url = '/v2/task/reprocesses'
21
21
 
22
- url_to_post = '/v2/task/reprocess'
23
-
24
22
  def get_reprocessing_tasks(self, offset=0, limit=100, scope_ids=[],
25
23
  order="DESC", **kwargs):
26
24
  """Returns a paginated list of reprocessing tasks.
@@ -75,4 +73,4 @@ class ReprocessingManager(base.BaseManager):
75
73
 
76
74
  body = dict(filter(lambda elem: bool(elem[1]), body.items()))
77
75
 
78
- return self.api_client.post(self.url_to_post, json=body).json()
76
+ return self.api_client.post(self.url, json=body).json()
@@ -35,10 +35,20 @@ class CliSummaryGet(lister.Lister):
35
35
  help='Maximal number of elements')
36
36
  parser.add_argument('-g', '--groupby', type=str, action='append',
37
37
  help='Attribute to group the summary by. Can be '
38
- 'specified several times')
38
+ 'specified several times. One can also group '
39
+ 'by different time options such as: "time-d" '
40
+ 'to group by day of the year, "time-w" to '
41
+ 'group by week of the year, "time-m" to '
42
+ 'group by month, and "time-y" to group data '
43
+ 'by year.')
39
44
  parser.add_argument('--filter', type=filter_, action='append',
40
45
  help="Optional filter, in 'key:value' format. Can "
41
- "be specified several times.")
46
+ "be specified several times. It is also "
47
+ "possible to filter data using the group by "
48
+ "values. However, one needs to group by as "
49
+ "well; for instance, if one wants to filter "
50
+ "by resource id (id), then we need to group "
51
+ "by id via the option '-g id'.")
42
52
  parser.add_argument('-b', '--begin', type=timeutils.parse_isotime,
43
53
  help="Start of the period to query, in iso8601 "
44
54
  "format. Example: 2019-05-01T00:00:00Z.")
@@ -22,6 +22,7 @@ Justin Ferrieu <jferrieu@objectif-libre.com>
22
22
  Kiran_totad <kiran.totad@nectechnologies.in>
23
23
  Luka Peschke <luka.peschke@epitech.eu>
24
24
  Luka Peschke <luka.peschke@objectif-libre.com>
25
+ Matt Crees <mattc@stackhpc.com>
25
26
  Matthias Bastian <bastian@strato.de>
26
27
  Maxime Cottret <maxime.cottret@objectif-libre.com>
27
28
  Monty Taylor <mordred@inaugust.com>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-cloudkittyclient
3
- Version: 5.0.0
3
+ Version: 5.2.0
4
4
  Summary: API client of cloudkitty, Rating as a Service project.
5
5
  Home-page: https://docs.openstack.org/python-cloudkittyclient/latest/
6
6
  Author: OpenStack
@@ -61,20 +61,20 @@ cloudkittyclient/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
61
61
  cloudkittyclient/v2/client.py,sha256=NS5HocThLXfbhab64QEveDbD2AHAaG_YOlKIrg18Fhg,1732
62
62
  cloudkittyclient/v2/dataframes.py,sha256=s4IGC5JSgfKoh2_ee_HTQtI7FJZ0L0RUPM0I0hRg7VU,2654
63
63
  cloudkittyclient/v2/dataframes_cli.py,sha256=97_pffc9L-SmZGazuo8YYh3ZIkpK5rMHj90_RnwrkIc,4282
64
- cloudkittyclient/v2/reprocessing.py,sha256=Ht10_pbLw2_73PUKcYgPIGMD8JqIOwT4QrN6DA9anEE,2862
64
+ cloudkittyclient/v2/reprocessing.py,sha256=_n_VTQCDaYOEl6h_fpdnOmuh8l2WRmAi9Rw0-Un-3h0,2814
65
65
  cloudkittyclient/v2/reprocessing_cli.py,sha256=fAYtDaZRaSjpoUMX_ZuhC8irQvn1_f5KhBni7X6dKAs,4021
66
66
  cloudkittyclient/v2/scope.py,sha256=LMFMkSn7Wgh0bVa4SdGHD3mmQnjDx1zBL1MAocAipZg,5415
67
67
  cloudkittyclient/v2/scope_cli.py,sha256=Ob1m-1CwNEZ6dOz9eyJLUQ8BZ0Z-681kcdLlUaSt-CU,4437
68
68
  cloudkittyclient/v2/summary.py,sha256=r4LewfiYmhdnGFZEiKgvbb8MquRStBQbHT99IUQlOww,2116
69
- cloudkittyclient/v2/summary_cli.py,sha256=v_vi1A4xQb9ACNFmigMtx7TzJmwFfaGb8Vxip4cyYKg,2681
69
+ cloudkittyclient/v2/summary_cli.py,sha256=A08eGm0c3d9LUBhUfrngSo-3K9pWsDB8Br6L4Owkvuk,3459
70
70
  cloudkittyclient/v2/rating/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
71
  cloudkittyclient/v2/rating/modules.py,sha256=EGApZyoXlcw_GNosJQTn5wHwEcbHrz8CZZzsS0j_hgk,2165
72
72
  cloudkittyclient/v2/rating/modules_cli.py,sha256=XK7burE7ZmRQRPs81Y9HdkHUQoDFkvjQuxG1syOjimQ,1026
73
- python_cloudkittyclient-5.0.0.dist-info/AUTHORS,sha256=Gs2dQaxyDJFrvzKqbG6p6Yx_GnYimQ2hzlGglnGsC1g,2570
74
- python_cloudkittyclient-5.0.0.dist-info/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
75
- python_cloudkittyclient-5.0.0.dist-info/METADATA,sha256=GUNJ1z72Y1SmBrKoRGYqi_BLhPqBg8sA8_WdamRQDFE,1961
76
- python_cloudkittyclient-5.0.0.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
77
- python_cloudkittyclient-5.0.0.dist-info/entry_points.txt,sha256=-MLVr_HbwVjfBc5ufkqjY1IuPZHxd2cKTP6hrkrg4bA,16185
78
- python_cloudkittyclient-5.0.0.dist-info/pbr.json,sha256=Tz04Wts7ijI3KHgAF4GIa8ElMe0Gs2DQBRCbjXp3bcY,46
79
- python_cloudkittyclient-5.0.0.dist-info/top_level.txt,sha256=TtMJyxkmBFte9bhR6os7dENHUkoVxb6zshYScZMsGVA,17
80
- python_cloudkittyclient-5.0.0.dist-info/RECORD,,
73
+ python_cloudkittyclient-5.2.0.dist-info/AUTHORS,sha256=63dDZVp26ZVEB0zoSJ0KNrtk73MHTVdNxJT-gpcU0c4,2602
74
+ python_cloudkittyclient-5.2.0.dist-info/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
75
+ python_cloudkittyclient-5.2.0.dist-info/METADATA,sha256=HhUHtEKaG5l5RNHq9maNxRYxAL9etk0K_1YIrPzHP5s,1961
76
+ python_cloudkittyclient-5.2.0.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
77
+ python_cloudkittyclient-5.2.0.dist-info/entry_points.txt,sha256=-MLVr_HbwVjfBc5ufkqjY1IuPZHxd2cKTP6hrkrg4bA,16185
78
+ python_cloudkittyclient-5.2.0.dist-info/pbr.json,sha256=_ojdiLTQHRy0QgnBLWA00VtWwK10QIZeuXG21pJ95rk,46
79
+ python_cloudkittyclient-5.2.0.dist-info/top_level.txt,sha256=TtMJyxkmBFte9bhR6os7dENHUkoVxb6zshYScZMsGVA,17
80
+ python_cloudkittyclient-5.2.0.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ {"git_version": "79a4606", "is_release": true}
@@ -1 +0,0 @@
1
- {"git_version": "d30991c", "is_release": true}