mirror of
https://github.com/OpenKMIP/PyKMIP.git
synced 2025-04-08 19:25:06 +02:00
Fixes a mismapped polymorphic identity for X509Certificate objects
This change updates the polymorphic identity used by X509Certificate objects. The original identity was already used by the base Certificate object, causing sqlalchemy to raise a warning when used. This change resolves the identity reassignment and prevents the warning from being displayed.
This commit is contained in:
parent
bbc4c7060d
commit
36f0583adf
@ -820,7 +820,7 @@ class X509Certificate(Certificate):
|
||||
primary_key=True)
|
||||
|
||||
__mapper_args__ = {
|
||||
'polymorphic_identity': 'Certificate'
|
||||
'polymorphic_identity': 'X509Certificate'
|
||||
}
|
||||
__table_args__ = {
|
||||
'sqlite_autoincrement': True
|
||||
|
Loading…
x
Reference in New Issue
Block a user