code: def add_default_field_mapping(field_type, strategy):
      # type: (Type[dm.Field], st.SearchStrategy[Any]) -> None
      note_deprecation(
          "`hypothesis.extra.django.models.add_default_field_mapping` is deprecated; use `hypothesis.extra.django."
          "register_field_strategy` instead.",
          since="2019-01-10",
      )
      register_field_strategy(field_type, strategy)
  
file_path: catboost/contrib/python/hypothesis/py2/hypothesis/extra/django/models.py
imports: from __future__ import absolute_import, division, print_function
  import django.db.models
  from django.db import IntegrityError
  import hypothesis.strategies._internal.core
  from hypothesis import reject
  from hypothesis._settings import note_deprecation
  from hypothesis.errors import InvalidArgument
  from hypothesis.extra.django import from_field, register_field_strategy
  from hypothesis.utils.conventions import DefaultValueType
label_desc: Use image node_id 1 for calling a global function with example usage: add_default_field_mapping(field_type, strategy) without return types