Skip to content

Commit

Permalink
Merge pull request #581 from bcyrill/patch-1
Browse files Browse the repository at this point in the history
Use ORM mode for HttpProxySettings
  • Loading branch information
nabla-c0d3 authored Nov 5, 2022
2 parents ff6887d + 5d5db18 commit 8ad73ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sslyze/json/json_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def from_orm(cls, all_scan_commands_attempts: AllScanCommandsAttempts) -> "AllSc


# Identical fields in the JSON output
class _HttpProxySettingsAsJson(pydantic.BaseModel):
class _HttpProxySettingsAsJson(_BaseModelWithOrmModeAndForbid):
hostname: str
port: int

Expand Down

0 comments on commit 8ad73ec

Please sign in to comment.