code: def test_sorted_flag_partition_by() -> None:
      assert (
          pl.DataFrame({"one": [1, 2, 3], "two": ["a", "a", "b"]})
          .set_sorted("one")
          .partition_by("two", maintain_order=True)[0]["one"]
          .flags["SORTED_ASC"]
      )
  
imports: from __future__ import annotations
  from datetime import date, datetime
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 36 for calling a global function with example usage: test_sorted_flag_partition_by() without return types