code: def setup():
      # create tables
      for db in (db1, db2, db3, db4):
          Base.metadata.create_all(db)
  
      # establish initial "id" in db1
      with db1.begin() as conn:
          conn.execute(ids.insert(), {"nextid": 1})
  
imports: from __future__ import annotations
  import datetime
  from sqlalchemy import Column
  from sqlalchemy import create_engine
  from sqlalchemy import ForeignKey
  from sqlalchemy import inspect
  from sqlalchemy import Integer
  from sqlalchemy import select
  from sqlalchemy import Table
  from sqlalchemy.ext.horizontal_shard import set_shard_id
  from sqlalchemy.ext.horizontal_shard import ShardedSession
  from sqlalchemy.orm import DeclarativeBase
  from sqlalchemy.orm import Mapped
  from sqlalchemy.orm import mapped_column
  from sqlalchemy.orm import relationship
  from sqlalchemy.orm import sessionmaker
  from sqlalchemy.sql import operators
  from sqlalchemy.sql import visitors
label_desc: Use image node_id 6 for calling a global function with example usage: setup() without return types