Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd8e3cda

Browse files
committed
pyyaml strict requirement fix
1 parent50d191a commitd8e3cda

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

‎requirements.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ isodate==0.6.0
22
dictpath==0.1.3
33
openapi-spec-validator==0.3.3
44
openapi-schema-validator==0.1.6
5-
PyYAML==5.3.1
65
six
76
lazy-object-proxy
87
attrs

‎setup.cfg‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ install_requires =
3030
dictpath
3131
openapi-spec-validator < 0.4.0
3232
openapi-schema-validator < 0.2.0
33-
PyYAML < 6.0; python_version>="3.6"
3433
six
3534
lazy-object-proxy
3635
attrs

‎tests/integration/contrib/django/data/djangoproject/testapp/views.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class TestView(APIView):
1717
defget(self,request,pk):
1818
withopen(settings.OPENAPI_SPEC_PATH)asfile:
1919
spec_yaml=file.read()
20-
spec_dict=yaml.load(spec_yaml)
20+
spec_dict=yaml.load(spec_yaml,yaml.FullLoader)
2121
spec=create_spec(spec_dict)
2222

2323
openapi_request=DjangoOpenAPIRequest(request)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp