Skip to content
Snippets Groups Projects
Commit 4bf0ecb7 authored by Carlos Vega's avatar Carlos Vega
Browse files

added type hint to method signature

parent 93a03c12
No related branches found
No related tags found
1 merge request!277Resolve "possibility to remove subject"
......@@ -5,11 +5,13 @@ from datetime import timedelta
from web.algorithm import VerhoeffAlgorithm, LuhnAlgorithm
from django.db import models
from django.contrib.admin.utils import NestedObjects
from django.utils.text import capfirst
from django.utils.encoding import force_text
from typing import List
def get_deleted_objects(objs):
def get_deleted_objects(objs: List[models.Model]):
collector = NestedObjects(using='default')
collector.collect(objs)
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment