Home / Function/ _untag_scan() — flask Function Reference

_untag_scan() — flask Function Reference

Architecture documentation for the _untag_scan() function in tag.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  3897b196_2f09_a4be_dc0e_bffd5d28351a["_untag_scan()"]
  6ef56ba4_aac6_67ac_0434_7a801bf6f137["TaggedJSONSerializer"]
  3897b196_2f09_a4be_dc0e_bffd5d28351a -->|defined in| 6ef56ba4_aac6_67ac_0434_7a801bf6f137
  f576c56b_44d3_0e30_77a6_1155c29edada["loads()"]
  f576c56b_44d3_0e30_77a6_1155c29edada -->|calls| 3897b196_2f09_a4be_dc0e_bffd5d28351a
  5e0479cd_0c5f_ecbf_9522_f2277fd8a3fb["untag()"]
  3897b196_2f09_a4be_dc0e_bffd5d28351a -->|calls| 5e0479cd_0c5f_ecbf_9522_f2277fd8a3fb
  style 3897b196_2f09_a4be_dc0e_bffd5d28351a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/flask/json/tag.py lines 309–319

    def _untag_scan(self, value: t.Any) -> t.Any:
        if isinstance(value, dict):
            # untag each item recursively
            value = {k: self._untag_scan(v) for k, v in value.items()}
            # untag the dict itself
            value = self.untag(value)
        elif isinstance(value, list):
            # untag each item recursively
            value = [self._untag_scan(item) for item in value]

        return value

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does _untag_scan() do?
_untag_scan() is a function in the flask codebase, defined in src/flask/json/tag.py.
Where is _untag_scan() defined?
_untag_scan() is defined in src/flask/json/tag.py at line 309.
What does _untag_scan() call?
_untag_scan() calls 1 function(s): untag.
What calls _untag_scan()?
_untag_scan() is called by 1 function(s): loads.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free