Skip to content

Commit

Permalink
[omm] A few random tiny cleanups (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dcallies authored Jan 9, 2024
1 parent 390cdaa commit ca1dae0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
8 changes: 6 additions & 2 deletions open-media-match/.devcontainer/gunicorn_omm_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.

"""
A
A production - looking OMM config.
This is meant to demonstrate the differences between the development
This is meant to demonstrate the differences between the development and
prod versions
"""

from threatexchange.signal_type.pdq.signal import PdqSignal
Expand Down
2 changes: 2 additions & 0 deletions open-media-match/.devcontainer/omm_config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.

# This is the configuration that is used by default for the developer instance
# which runs in the dev container by default. Every config field is present
# to make it easier to copy this
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
4 changes: 1 addition & 3 deletions open-media-match/src/OpenMediaMatch/storage/postgres/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
"""
The default store for accessing persistent data on OMM.
"""
from dataclasses import dataclass, field
import datetime
from dataclasses import dataclass
import pickle
import time
import typing as t

import flask
from flask_apscheduler import APScheduler
import flask_migrate

from sqlalchemy import select, delete, func, Select, insert, update
Expand Down

0 comments on commit ca1dae0

Please sign in to comment.