This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tyrconsulting.identityparser; | |
| import java.io.IOException; | |
| import java.nio.file.Paths; | |
| import java.util.concurrent.ExecutionException; | |
| import org.springframework.boot.CommandLineRunner; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| import org.springframework.context.ApplicationContext; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import xml.etree.ElementTree as ET | |
| from datetime import datetime | |
| from typing import List, Optional, Dict, Any, Union | |
| from pydantic import BaseModel, Field, validator | |
| import os | |
| import pandas as pd | |
| from google.cloud import bigquery, storage | |
| # --- 1. Define the Target Schema using Pydantic --- | |
| # This class defines the structure of our final, clean output object. |
OlderNewer