Skip to content

Commit af9625b

Browse files
daviddavismdellweg
authored andcommitted
Expose EncryptedJSONField via the plugin API
fixes #7690 Assisted-By: GitHub Copilot (Claude) Signed-off-by: David Davis <daviddavis@users.noreply.github.com>
1 parent 51d6c35 commit af9625b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGES/plugin_api/7690.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Exposed `EncryptedJSONField` via the plugin API.

pulpcore/plugin/models/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
)
4848

4949

50-
from pulpcore.app.models.fields import EncryptedTextField
50+
from pulpcore.app.models.fields import EncryptedJSONField, EncryptedTextField
5151
from pulpcore.app.models.analytics import system_id
5252

5353
__all__ = [
@@ -90,6 +90,7 @@
9090
"TaskSchedule",
9191
"Upload",
9292
"UploadChunk",
93+
"EncryptedJSONField",
9394
"EncryptedTextField",
9495
"system_id",
9596
"VulnerabilityReport",

0 commit comments

Comments
 (0)