Fix linting
This commit is contained in:
parent
fce72dbca2
commit
8a620dbab8
|
@ -44,10 +44,7 @@ class CustomAutoSchema(AutoSchema):
|
||||||
tokenized_path.append("formatted")
|
tokenized_path.append("formatted")
|
||||||
|
|
||||||
# rename `create_radio_radio` to `create_radio`. Works with all models
|
# rename `create_radio_radio` to `create_radio`. Works with all models
|
||||||
if (
|
if len(tokenized_path) > 0 and model_singular == tokenized_path[0]:
|
||||||
len(tokenized_path) > 0
|
|
||||||
and model_singular == tokenized_path[0]
|
|
||||||
):
|
|
||||||
tokenized_path.pop(0)
|
tokenized_path.pop(0)
|
||||||
|
|
||||||
# rename `get_radio_radio_track` to `get_radio_track`
|
# rename `get_radio_radio_track` to `get_radio_track`
|
||||||
|
|
Loading…
Reference in New Issue