mirror of
https://github.com/hohn/sarif-cli.git
synced 2025-12-16 17:23:03 +01:00
Switch numpy.datetime64() to numpy.dtype('M') to get working equality comparison
This commit is contained in:
committed by
=Michael Hohn
parent
1754c6c9ca
commit
38af30ead9
@@ -17,10 +17,10 @@ class ScanTablesTypes:
|
|||||||
"id" : pd.UInt64Dtype(),
|
"id" : pd.UInt64Dtype(),
|
||||||
"commit_id" : pd.StringDtype(),
|
"commit_id" : pd.StringDtype(),
|
||||||
"project_id" : pd.UInt64Dtype(),
|
"project_id" : pd.UInt64Dtype(),
|
||||||
"db_create_start" : numpy.datetime64(),
|
"db_create_start" : numpy.dtype('M'),
|
||||||
"db_create_stop" : numpy.datetime64(),
|
"db_create_stop" : numpy.dtype('M'),
|
||||||
"scan_start_date" : numpy.datetime64(),
|
"scan_start_date" : numpy.dtype('M'),
|
||||||
"scan_stop_date" : numpy.datetime64(),
|
"scan_stop_date" : numpy.dtype('M'),
|
||||||
"tool_name" : pd.StringDtype(),
|
"tool_name" : pd.StringDtype(),
|
||||||
"tool_version" : pd.StringDtype(),
|
"tool_version" : pd.StringDtype(),
|
||||||
"tool_query_commit_id" : pd.StringDtype(),
|
"tool_query_commit_id" : pd.StringDtype(),
|
||||||
@@ -57,7 +57,7 @@ class ScanTablesTypes:
|
|||||||
projects = {
|
projects = {
|
||||||
"id" : pd.UInt64Dtype(),
|
"id" : pd.UInt64Dtype(),
|
||||||
"project_name" : pd.StringDtype(),
|
"project_name" : pd.StringDtype(),
|
||||||
"creation_date" : numpy.datetime64(),
|
"creation_date" : numpy.dtype('M'),
|
||||||
"repo_url" : pd.StringDtype(),
|
"repo_url" : pd.StringDtype(),
|
||||||
"primary_language" : pd.StringDtype(),
|
"primary_language" : pd.StringDtype(),
|
||||||
"languages_analyzed" : pd.StringDtype(),
|
"languages_analyzed" : pd.StringDtype(),
|
||||||
|
|||||||
Reference in New Issue
Block a user