Skip to content
Snippets Groups Projects
Commit cfd036df authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

Merge branch 'L2SS-652-investigate-hdbpp-python' into 'master'

Resolve L2SS-652 "Investigate hdbpp python"

Closes L2SS-652

See merge request !268
parents d89e0bc0 84884977
No related branches found
No related tags found
1 merge request!268Resolve L2SS-652 "Investigate hdbpp python"
...@@ -2,3 +2,6 @@ ...@@ -2,3 +2,6 @@
path = docker-compose/tango-prometheus-exporter/ska-tango-grafana-exporter path = docker-compose/tango-prometheus-exporter/ska-tango-grafana-exporter
url = https://git.astron.nl/lofar2.0/ska-tango-grafana-exporter.git url = https://git.astron.nl/lofar2.0/ska-tango-grafana-exporter.git
branch = station-control branch = station-control
[submodule "tangostationcontrol/tangostationcontrol/toolkit/libhdbpp-python"]
path = tangostationcontrol/tangostationcontrol/toolkit/libhdbpp-python
url = https://gitlab.com/tango-controls/hdbpp/libhdbpp-python
%% Cell type:code id:d0328351 tags:
``` python
import sys, time
sys.path.append('/hosthome/tango/tangostationcontrol/tangostationcontrol/toolkit/libhdbpp-python')
from hdbpp_reader.timescaledb import TimescaleDbReader
```
%% Cell type:code id:c2295969 tags:
``` python
# Initialise a Reader object
reader = TimescaleDbReader({'database':'hdb', 'user':'postgres', 'password':'password', 'port':5432,'host':'archiver-timescale'})
```
%% Cell type:code id:24cd0dbc tags:
``` python
reader.parse_config('postgres:password@archiver-timescale:5432/hdb')
```
%% Output
{'user': 'postgres',
'password': 'password',
'host': 'archiver-timescale',
'database': 'hdb',
'port': 5432}
%% Cell type:code id:2e01bf2a tags:
``` python
# Check connection
reader.get_connection()
```
%% Output
<connection object at 0x7fcf8f18ee08; dsn: 'user=postgres password=xxx dbname=hdb host=archiver-timescale port=5432', closed: 0>
%% Cell type:code id:582e2c9e tags:
``` python
# Get the list of all the archived attributes
reader.get_attributes()
```
%% Output
['tango://databaseds:10000/stat/sdp/1/fpga_temp_r',
'tango://databaseds:10000/stat/recv/1/version_r',
'tango://databaseds:10000/stat/recv/1/opcua_missing_attributes_r',
'tango://databaseds:10000/stat/recv/1/rcu_led_green_on_r',
'tango://databaseds:10000/stat/recv/1/rcu_led_green_on_rw',
'tango://databaseds:10000/stat/recv/1/rcu_led_red_on_r',
'tango://databaseds:10000/stat/recv/1/rcu_led_red_on_rw',
'tango://databaseds:10000/stat/recv/1/rcu_mask_rw',
'tango://databaseds:10000/stat/recv/1/rcu_pcb_id_r',
'tango://databaseds:10000/stat/recv/1/rcu_pcb_number_r',
'tango://databaseds:10000/stat/recv/1/rcu_pcb_version_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_1v8_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_2v5_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_3v3_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_analog_on_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_digital_on_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_good_r',
'tango://databaseds:10000/stat/recv/1/rcu_temp_r',
'tango://databaseds:10000/stat/recv/1/recvtr_i2c_error_r',
'tango://databaseds:10000/stat/recv/1/recvtr_monitor_rate_rw',
'tango://databaseds:10000/stat/recv/1/recvtr_translator_busy_r',
'tango://databaseds:10000/stat/recv/1/rcu_led_colour_r',
'tango://databaseds:10000/stat/recv/1/rcu_error_r',
'tango://databaseds:10000/stat/recv/1/recv_iout_error_r',
'tango://databaseds:10000/stat/recv/1/recv_temp_error_r',
'tango://databaseds:10000/stat/recv/1/recv_vout_error_r',
'tango://databaseds:10000/stat/recv/1/state',
'tango://databaseds:10000/stat/recv/1/status',
'tango://databaseds:10000/stat/sdp/1/version_r',
'tango://databaseds:10000/stat/sdp/1/opcua_missing_attributes_r',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_enable_r',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_enable_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_hdr_eth_destination_mac_r',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_hdr_eth_destination_mac_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_hdr_ip_destination_address_r',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_hdr_ip_destination_address_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_hdr_udp_destination_port_r',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_hdr_udp_destination_port_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_scale_r',
'tango://databaseds:10000/stat/sdp/1/fpga_beamlet_output_scale_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_boot_image_r',
'tango://databaseds:10000/stat/sdp/1/fpga_boot_image_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_global_node_index_r',
'tango://databaseds:10000/stat/sdp/1/fpga_pps_present_r',
'tango://databaseds:10000/stat/sdp/1/fpga_pps_capture_cnt_r',
'tango://databaseds:10000/stat/sdp/1/fpga_pps_expected_cnt_r',
'tango://databaseds:10000/stat/sdp/1/fpga_pps_expected_cnt_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_processing_enable_r',
'tango://databaseds:10000/stat/sdp/1/fpga_processing_enable_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_scrap_r',
'tango://databaseds:10000/stat/sdp/1/fpga_scrap_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_antenna_band_index_r',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_block_period_r',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_f_adc_r',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_fsub_type_r',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_nyquist_sampling_zone_index_r',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_nyquist_sampling_zone_index_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_observation_id_r',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_observation_id_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_station_id_r',
'tango://databaseds:10000/stat/sdp/1/fpga_sdp_info_station_id_rw',
'tango://databaseds:10000/stat/sdp/1/fpga_time_since_last_pps_r',
'tango://databaseds:10000/stat/sdp/1/tr_fpga_mask_r',
'tango://databaseds:10000/stat/sdp/1/tr_sdp_config_first_fpga_nr_r',
'tango://databaseds:10000/stat/sdp/1/tr_sdp_config_nof_beamsets_r',
'tango://databaseds:10000/stat/sdp/1/tr_sdp_config_nof_fpgas_r',
'tango://databaseds:10000/stat/sdp/1/tr_start_time_r',
'tango://databaseds:10000/stat/sdp/1/tr_tod_r',
'tango://databaseds:10000/stat/sdp/1/tr_tod_pps_delta_r',
'tango://databaseds:10000/stat/sdp/1/fpga_bsn_monitor_input_bsn_r',
'tango://databaseds:10000/stat/sdp/1/fpga_bsn_monitor_input_nof_packets_r',
'tango://databaseds:10000/stat/sdp/1/fpga_bsn_monitor_input_nof_valid_r',
'tango://databaseds:10000/stat/sdp/1/fpga_bsn_monitor_input_nof_err_r',
'tango://databaseds:10000/stat/sdp/1/fpga_error_r',
'tango://databaseds:10000/stat/sdp/1/fpga_processing_error_r',
'tango://databaseds:10000/stat/sdp/1/fpga_input_error_r',
'tango://databaseds:10000/stat/sdp/1/state',
'tango://databaseds:10000/stat/sdp/1/status',
'tango://databaseds:10000/stat/sdp/1/fpga_firmware_version_r',
'tango://databaseds:10000/stat/sdp/1/fpga_hardware_version_r',
'tango://databaseds:10000/stat/sdp/1/tr_fpga_mask_rw',
'tango://databaseds:10000/stat/sdp/1/tr_fpga_communication_error_r',
'tango://databaseds:10000/stat/sdp/1/tr_software_version_r']
%% Cell type:code id:9f985ceb tags:
``` python
# Given a name pattern, return a list of archived attributes
device_name = 'STAT/RECV/1'
reader.get_attributes(pattern=f'*{device_name}*'.lower())
```
%% Output
['tango://databaseds:10000/stat/recv/1/version_r',
'tango://databaseds:10000/stat/recv/1/opcua_missing_attributes_r',
'tango://databaseds:10000/stat/recv/1/rcu_led_green_on_r',
'tango://databaseds:10000/stat/recv/1/rcu_led_green_on_rw',
'tango://databaseds:10000/stat/recv/1/rcu_led_red_on_r',
'tango://databaseds:10000/stat/recv/1/rcu_led_red_on_rw',
'tango://databaseds:10000/stat/recv/1/rcu_mask_rw',
'tango://databaseds:10000/stat/recv/1/rcu_pcb_id_r',
'tango://databaseds:10000/stat/recv/1/rcu_pcb_number_r',
'tango://databaseds:10000/stat/recv/1/rcu_pcb_version_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_1v8_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_2v5_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_3v3_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_analog_on_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_digital_on_r',
'tango://databaseds:10000/stat/recv/1/rcu_pwr_good_r',
'tango://databaseds:10000/stat/recv/1/rcu_temp_r',
'tango://databaseds:10000/stat/recv/1/recvtr_i2c_error_r',
'tango://databaseds:10000/stat/recv/1/recvtr_monitor_rate_rw',
'tango://databaseds:10000/stat/recv/1/recvtr_translator_busy_r',
'tango://databaseds:10000/stat/recv/1/rcu_led_colour_r',
'tango://databaseds:10000/stat/recv/1/rcu_error_r',
'tango://databaseds:10000/stat/recv/1/recv_iout_error_r',
'tango://databaseds:10000/stat/recv/1/recv_temp_error_r',
'tango://databaseds:10000/stat/recv/1/recv_vout_error_r',
'tango://databaseds:10000/stat/recv/1/state',
'tango://databaseds:10000/stat/recv/1/status']
%% Cell type:code id:5517c508 tags:
``` python
# Check if an attribute is archived
attr_name = 'rcu_mask_rw'
reader.is_attribute_archived(f'{device_name}/{attr_name}'.lower())
```
%% Output
1
%% Cell type:code id:740064f3 tags:
``` python
# Return the list of the last n value for a given attribute(s)
# ! Cannot figure out why it does not work ... on the other hand, the relative code
# in the next cell works!
a = 'tango://databaseds:10000/stat/sdp/1/fpga_temp_r'
columns = ["value_r", "value_w", "quality", "att_error_desc_id"]
reader.get_last_attributes_values(attributes=a,columns=columns,n=3)
```
%% Output
{}
%% Cell type:code id:d48fe536 tags:
``` python
reader._cursor.execute("SELECT att_conf_id, table_name, att_name FROM att_conf WHERE att_name LIKE %s;", ('%'+a+'%',))
att_id = reader._cursor.fetchall()
reader._cursor.execute(f"SELECT data_time, value_r, value_w, quality, att_error_desc_id FROM {att_id[0][1]} WHERE att_conf_id={att_id[0][0]} ORDER BY data_time DESC LIMIT 3")
reader._cursor.fetchall()
```
%% Output
[(datetime.datetime(2022, 3, 9, 12, 0, 27, 686930, tzinfo=datetime.timezone.utc),
None,
None,
1,
1),
(datetime.datetime(2022, 3, 8, 15, 38, 34, 497576, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 38, 23, 838368, tzinfo=datetime.timezone.utc),
None,
None,
1,
2)]
%% Cell type:code id:fcab2a21 tags:
``` python
# Get the last attribute values given a start date and optionally a stop date
reader.get_attribute_values(a, start_date='2022-03-08 00:00:00')
```
%% Output
[(datetime.datetime(2022, 3, 9, 12, 0, 27, 686930, tzinfo=datetime.timezone.utc),
None,
None,
1,
1),
(datetime.datetime(2022, 3, 8, 15, 38, 34, 497576, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 38, 23, 838368, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 38, 23, 401983, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 38, 12, 908590, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 38, 12, 398194, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 38, 1, 974671, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 38, 1, 400801, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 37, 51, 57525, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 37, 50, 398277, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 37, 40, 124000, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 37, 39, 402424, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 37, 29, 194141, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 37, 28, 403995, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 37, 18, 325812, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 37, 17, 414731, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 37, 7, 423699, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 37, 6, 406963, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 36, 56, 399116, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 36, 55, 406792, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 36, 45, 491806, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 36, 44, 401894, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 36, 34, 594970, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 36, 33, 385793, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 36, 23, 718610, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 36, 23, 402214, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 36, 12, 785296, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 36, 12, 392858, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 36, 1, 840443, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 36, 1, 404531, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 35, 50, 913943, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 35, 50, 401988, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 35, 39, 984898, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 35, 39, 393043, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 35, 29, 69789, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 35, 28, 409644, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 35, 18, 114191, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 35, 17, 388089, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 35, 7, 192311, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 35, 6, 400084, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 34, 56, 295447, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 34, 55, 390150, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 34, 45, 458677, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 34, 44, 386107, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 34, 34, 598981, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 34, 33, 384623, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 34, 23, 717252, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 34, 22, 394157, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 34, 12, 660277, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 34, 11, 390295, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 34, 1, 641750, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 34, 0, 385438, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 33, 50, 633679, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 33, 49, 396047, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 33, 39, 494091, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 33, 38, 392001, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 33, 27, 532083, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 33, 7, 927971, tzinfo=datetime.timezone.utc),
None,
None,
1,
1),
(datetime.datetime(2022, 3, 8, 15, 31, 15, 82880, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 31, 4, 961433, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 31, 4, 405487, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 30, 54, 841743, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 30, 54, 402356, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 30, 44, 727440, tzinfo=datetime.timezone.utc),
None,
None,
1,
2),
(datetime.datetime(2022, 3, 8, 15, 30, 44, 400452, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 30, 33, 414200, tzinfo=datetime.timezone.utc),
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0],
None,
0,
None),
(datetime.datetime(2022, 3, 8, 15, 30, 15, 378183, tzinfo=datetime.timezone.utc),
None,
None,
1,
1)]
libhdbpp-python @ 7f316826
Subproject commit 7f3168261290109d64057fd526827bf33089774f
...@@ -78,4 +78,4 @@ commands = ...@@ -78,4 +78,4 @@ commands =
[flake8] [flake8]
filename = *.py,.stestr.conf,.txt filename = *.py,.stestr.conf,.txt
select = W292,B601,B602,T100,M001,F401,B001,B002,B003,B004,B005,B006,B007,B008,B009,B010,B011,B012,B013,B014.B015,B016,B017,B018 select = W292,B601,B602,T100,M001,F401,B001,B002,B003,B004,B005,B006,B007,B008,B009,B010,B011,B012,B013,B014.B015,B016,B017,B018
exclude=.tox,.egg-info exclude=.tox,.egg-info,libhdbpp-python
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment