partition_by not working in dbt python model

I have a working dbt python incremental model as follows:

import pyspark.sql.functions as F
from pyspark.sql import DataFrame
from pyspark.sql.window import Window


def calculate_final_customer_score(
    combined_df: DataFrame, individual_scores: list
) -> DataFrame:
    """
    Calculate the final customer score based on individual scores with equal weights.
    Args:
    combined_df (DataFrame): DataFrame containing the combined customer data.
    individual_scores (list): List of individual score columns.
    Returns:
    DataFrame: DataFrame with the final customer score column.
    """

    # Calculate the weighted sum of individual scores
    weighted_sum = sum(F.col(score) for score in individual_scores)

    # Calculate the final customer score
    final_customer_score = weighted_sum / len(individual_scores)

    combined_df = combined_df.withColumn("final_customer_score", final_customer_score)

    return combined_df


def model(dbt, session):
    dbt.config(materialized="incremental", partition_by=["execution_date"])

    # Reference the source table
    combined_df = dbt.ref("combined_proxy_2023_per_cust_v2")

    # Define individual scores
    individual_scores = ["rfm_score", "growth_score_adjusted", "points_score_adjusted"]

    if dbt.is_incremental:
        # Get the max execution_date from the current table
        max_execution_date_query = f"SELECT MAX(execution_date) FROM {dbt.this}"
        max_execution_date = session.sql(max_execution_date_query).collect()[0][0]

        # Filter for new rows since the last execution
        combined_df = combined_df.filter(F.col("execution_date") > max_execution_date)

    # Calculate final customer score with equal weights
    combined_df = calculate_final_customer_score(combined_df, individual_scores)

    # Calculate deciles
    combined_df = combined_df.withColumn(
        "decile", F.ntile(10).over(Window.orderBy(F.col("final_customer_score")))
    )

    # Sort the decile tables in descending order by decile
    combined_df = combined_df.orderBy(F.col("decile").desc())

    return combined_df

I am trying to specify the partition column but unable to do so…
The model builds successfully but when I try to check if the partition_by is working using

spark.sql("SHOW Partitions adi.inst__davi_dev.weighted_avg_target_per_cust").show()

I got the following:

[DELTA_SHOW_PARTITION_IN_NON_PARTITIONED_TABLE] SHOW PARTITIONS is not allowed on a table that is not partitioned: `inst__davi_dev`.`weighted_avg_target_per_cust` SQLSTATE: 42809

Meaning the partition is not applied. But I am unable to understand as what went wrong here? This is my first time working with partition_by in dbt python model.
Any help/ suggestions/ guidance will help!!

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật