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

Config.from_json should currently be deprecated, not removed #4078

Closed
Assignees
davidism
Milestone
@slokhorst

Description

@slokhorst

After upgrading to Flask 2.0, usingapp.config.from_json() gives the following error:

AttributeError: 'Config' object has no attribute 'from_json'

The changelog only says that it has been deprecated, but not removed:

AddConfig.from_file() to load config using arbitrary file loaders, such astoml.load orjson.load.Config.from_json() is deprecated in favor of this.#3398

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp