摘要:
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this w
阅读全文
posted @ 2025-12-10 16:54
ZhangZhihuiAAA
阅读(7)
推荐(0)
摘要:
str.split() and str.partition() both split strings, but they behave very differently and are used for different purposes. Here’s the clearest comparis
阅读全文
posted @ 2025-12-10 10:36
ZhangZhihuiAAA
阅读(10)
推荐(0)
摘要:
📌 Most Useful Airflow Template Variables 🧩 Task Instance Context VariableMeaning ti The TaskInstance object. Commonly used. task_instance Same as ti
阅读全文
posted @ 2025-12-10 09:59
ZhangZhihuiAAA
阅读(7)
推荐(0)
摘要:
✅ Why Airflow Needs an EmptyOperator 1. To define branching / joins cleanly When you branch or fan out tasks, you often need a join task that doesn’t
阅读全文
posted @ 2025-12-10 09:30
ZhangZhihuiAAA
阅读(7)
推荐(0)
摘要:
✅ Disable Windows PATH injection completely WSL automatically appends Windows paths unless you turn it off. 1. Edit /etc/wsl.conf 2. Add this: [intero
阅读全文
posted @ 2025-12-09 20:39
ZhangZhihuiAAA
阅读(8)
推荐(0)
摘要:
1. Install WSL extension in Windows VSCode 2. Make sure Windows VSCode bin path is in $PATH export CODE_HOME='/mnt/c/Programs/Microsoft VS Code' PATH=
阅读全文
posted @ 2025-12-09 11:15
ZhangZhihuiAAA
阅读(2)
推荐(0)
摘要:
https://airflow.apache.org/docs/apache-airflow/stable/start.html (airflow-venv) frank@ZZHPC:~$ which python /home/frank/airflow-venv/bin/python (airfl
阅读全文
posted @ 2025-12-09 09:08
ZhangZhihuiAAA
阅读(7)
推荐(0)
摘要:
agent1.ts: import {createAgent} from 'langchain'; import 'dotenv/config' const agent = createAgent( {model: 'claude-sonnet-4-5-20250929'} ); const res
阅读全文
posted @ 2025-12-08 19:12
ZhangZhihuiAAA
阅读(22)
推荐(0)
摘要:
PS D:\VSCodeWorkspace\Git\LangChain> npm init -y npm : 无法加载文件 D:\Program Files\nodejs\npm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/
阅读全文
posted @ 2025-12-08 16:34
ZhangZhihuiAAA
阅读(6)
推荐(0)
摘要:
(airflow-venv) frank@ZZHPC:~/zproject$ flink run -py my_job.py --jar-file $FLINK_HOME/lib/flink-connector-kafka-4.0.1-2.0.jar Traceback (most recent c
阅读全文
posted @ 2025-12-02 21:53
ZhangZhihuiAAA
阅读(12)
推荐(0)