Skip to content

Commit

Permalink
Add missing SSL fields to MySQL connection storage schema
Browse files Browse the repository at this point in the history
  • Loading branch information
khamitovdr committed Dec 23, 2024
1 parent 413bacc commit 492d743
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
from marshmallow import fields as ma_fields

from dl_core.us_manager.storage_schemas.connection import ConnectionSQLDataStorageSchema

from dl_connector_mysql.core.us_connection import ConnectionMySQL


class ConnectionMySQLDataStorageSchema(ConnectionSQLDataStorageSchema[ConnectionMySQL.DataModel]):
TARGET_CLS = ConnectionMySQL.DataModel

ssl_enable = ma_fields.Boolean(
required=False,
allow_none=False,
dump_default=False,
load_default=False,
)
ssl_ca = ma_fields.String(
required=False,
allow_none=True,
dump_default=None,
load_default=None,
)

0 comments on commit 492d743

Please sign in to comment.