for the validation framework i’m try to validate the data using the custom expectation by creating the seperate the custom expectation .py file and i’m trying to importing the expectation from there, for the validation, i’m stuck to use the custom expectation.
from great_expectations.expectations.registry import register_expectation
from custom_expectations.ExpectColumnValuesToBeUppercase import ExpectColumnValuesToBeUppercase
-Register custom expectation
register_expectation(ExpectColumnValuesToBeUppercase)
import streamlit as st
import pandas as pd
import sqlite3
from sqlalchemy import create_engine, inspect
import great_expectations as gx
import os
import pyodbc
from great_expectations.core import ExpectationConfiguration
from great_expectations.core.batch import RuntimeBatchRequest
import json
import streamlit.components.v1 as components
from great_expectations.validator.validator import Validator
from great_expectations.execution_engine import PandasExecutionEngine
from great_expectations.data_context.types.base import DatasourceConfig
from great_expectations.datasource.data_connector import RuntimeDataConnector
what is approach to fix this, i followed the docs, can any one help me to fix this custom expectation, if you already know about this,
share me the steps to create custom expectation to validate in framework steps, this will help me to cross check with my custom expectation steps