class_docstr: `Page` A container object to present multiple charts vertically in a single page
class_docstr_tok: ["`","Page","`","A","container","object","to","present","multiple","charts","vertically","in","a","single","page"]
code: def _assembly_layout(
      self, layout: types.Union[PageLayoutOpts, dict]
  ) -> str:
      if layout is Page.DraggablePageLayout:
          return _MARK_FREEDOM_LAYOUT
      result = ""
      if isinstance(layout, PageLayoutOpts):
          layout = layout.opts
      layout = utils.remove_key_with_none_value(layout)
      for k, v in layout.items():
          result += "{}:{}; ".format(k, v)
      return result
  
imports: import json
  import re
  import uuid
  from jinja2 import Environment
  from ...None import types
  from ...commons import utils
  from ...globals import CurrentConfig, ThemeType
  from ...options import PageLayoutOpts
  from ...render import engine
  from ..mixins import CompositeMixin
label_desc: Use image node_id 3 for calling the Page obj's underlying member method code with example usage: obj._assembly_layout(layout) and returns: result, _MARK_FREEDOM_LAYOUT