mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +00:00
Ignore typing error in custom action short description
This commit is contained in:
@@ -78,7 +78,7 @@ class ConversationAdmin(admin.ModelAdmin):
|
|||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
export_selected_objects.short_description = "Export selected conversations"
|
export_selected_objects.short_description = "Export selected conversations" # type: ignore
|
||||||
|
|
||||||
def export_selected_minimal_objects(self, request, queryset):
|
def export_selected_minimal_objects(self, request, queryset):
|
||||||
response = HttpResponse(content_type="text/csv")
|
response = HttpResponse(content_type="text/csv")
|
||||||
@@ -118,7 +118,7 @@ class ConversationAdmin(admin.ModelAdmin):
|
|||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
export_selected_minimal_objects.short_description = "Export selected conversations (minimal)"
|
export_selected_minimal_objects.short_description = "Export selected conversations (minimal)" # type: ignore
|
||||||
|
|
||||||
def get_actions(self, request):
|
def get_actions(self, request):
|
||||||
actions = super().get_actions(request)
|
actions = super().get_actions(request)
|
||||||
|
|||||||
Reference in New Issue
Block a user