I hereby claim:
- I am marksweb on github.
- I am markwalker (https://keybase.io/markwalker) on keybase.
- I have a public key ASBR5scDMn5FSCoMk5ovovTddzHzwsn_lnJQ8vs-amP6hgo
To claim this, I am signing this object:
# myapp/conf.py | |
from core.settings import Settings | |
DEFAULTS = { | |
'TEMP_DIR': '/tmp/' | |
} | |
settings = Settings(DEFAULTS) |
import os | |
import re | |
import sys | |
from django.db.models import options | |
import sentry_sdk | |
from base.utils.sanitize import sanitize | |
from sentry_sdk.integrations.celery import CeleryIntegration | |
from sentry_sdk.integrations.django import DjangoIntegration |
# pylint: disable=inconsistent-return-statements | |
def sanitize(value, output_type): | |
""" | |
Handy wrapper function for individual sanitize functions. | |
:param value: Input value to be sanitized | |
:param output_type: Class of required output | |
:type output_type: bool or int |
I hereby claim:
To claim this, I am signing this object: