Skip to content

Commit

Permalink
fix linter warning #1158
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Jan 28, 2024
1 parent a616766 commit 9bfe009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drf_spectacular/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class OpenApiYamlRenderer(BaseRenderer):
media_type = 'application/vnd.oai.openapi'
format = 'yaml'

def render(self, data, media_type=None, renderer_context=None):
def render(self, data, accepted_media_type=None, renderer_context=None):
# disable yaml advanced feature 'alias' for clean, portable, and readable output
class Dumper(yaml.SafeDumper):
def ignore_aliases(self, data):
Expand Down

0 comments on commit 9bfe009

Please sign in to comment.