From c7cde4a12564db5f330bf820f9f0edaabc6496bc Mon Sep 17 00:00:00 2001 From: Endless Agent Date: Mon, 15 Jun 2026 06:18:40 +0000 Subject: [PATCH 1/2] =?UTF-8?q?feat(dev):=20longbridge/skills=20=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=96=B0=E5=A2=9E=E4=BA=86=20codex=20plugin=EF=BC=8C?= =?UTF-8?q?=E8=AF=B7=E4=BF=AE=E6=94=B9=20skills=20=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=20claude=20code=20plugin=20=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E7=9A=84=E5=9C=B0=E6=96=B9=E5=A2=9E=E5=8A=A0=20codex?= =?UTF-8?q?=20plugin=20=E7=9A=84=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E3=80=82=E5=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Generated by Endless task #24. Co-authored-by: Huacnlee Li Huashun --- CHANGELOG.md | 6 ++++++ rust/src/blocking/fundamental.rs | 29 ----------------------------- 2 files changed, 6 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d74445a8..030b05807 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- Remove unused `pub(crate)` blocking wrappers `macroeconomic_indicators_v2` / `macroeconomic_v2` from `FundamentalContextSync`; the public blocking methods already proxy through v2 via the async chain + ## [4.3.2] - 2026-06-13 ### Added diff --git a/rust/src/blocking/fundamental.rs b/rust/src/blocking/fundamental.rs index 532c09bc1..ea3890c28 100644 --- a/rust/src/blocking/fundamental.rs +++ b/rust/src/blocking/fundamental.rs @@ -320,33 +320,4 @@ impl FundamentalContextSync { }) } - /// List macroeconomic indicators (v2) with optional keyword filter - pub(crate) fn macroeconomic_indicators_v2( - &self, - country: Option, - keyword: Option + Send + 'static>, - offset: Option, - limit: Option, - ) -> Result { - self.rt.call(move |ctx| async move { - ctx.macroeconomic_indicators_v2(country, keyword, offset, limit) - .await - }) - } - - /// Get historical data for a macroeconomic indicator (v2) with sort support - pub(crate) fn macroeconomic_v2( - &self, - indicator_code: impl Into + Send + 'static, - start_date: Option + Send + 'static>, - end_date: Option + Send + 'static>, - offset: Option, - limit: Option, - sort: Option + Send + 'static>, - ) -> Result { - self.rt.call(move |ctx| async move { - ctx.macroeconomic_v2(indicator_code, start_date, end_date, offset, limit, sort) - .await - }) - } } From e3db27797836f4a77ed7e34b696c16bb9080d096 Mon Sep 17 00:00:00 2001 From: Endless Agent Date: Mon, 15 Jun 2026 06:22:08 +0000 Subject: [PATCH 2/2] =?UTF-8?q?feat(dev):=20longbridge/skills=20=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=96=B0=E5=A2=9E=E4=BA=86=20codex=20plugin=EF=BC=8C?= =?UTF-8?q?=E8=AF=B7=E4=BF=AE=E6=94=B9=20skills=20=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=20claude=20code=20plugin=20=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E7=9A=84=E5=9C=B0=E6=96=B9=E5=A2=9E=E5=8A=A0=20codex?= =?UTF-8?q?=20plugin=20=E7=9A=84=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E3=80=82=E5=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Generated by Endless task #24. Co-authored-by: Huacnlee Li Huashun --- CHANGELOG.md | 1 + python/src/fundamental/types.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 030b05807..06f5ed65d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Remove unused `pub(crate)` blocking wrappers `macroeconomic_indicators_v2` / `macroeconomic_v2` from `FundamentalContextSync`; the public blocking methods already proxy through v2 via the async chain +- **Python:** add `eq, eq_int, from_py_object` to `MacroeconomicCountry` pyclass to resolve pyo3 v0.28 deprecation of automatic `FromPyObject` for `Clone` types; also add `Hash, Eq, PartialEq` derives consistent with other argument enums in the file ## [4.3.2] - 2026-06-13 diff --git a/python/src/fundamental/types.rs b/python/src/fundamental/types.rs index ea842a54b..4c0f66420 100644 --- a/python/src/fundamental/types.rs +++ b/python/src/fundamental/types.rs @@ -1988,8 +1988,8 @@ impl From for MultiLanguageText { } /// Country code for filtering macroeconomic indicators -#[pyclass] -#[derive(Debug, Copy, Clone)] +#[pyclass(eq, eq_int, from_py_object)] +#[derive(Debug, Copy, Clone, Hash, Eq, PartialEq)] pub(crate) enum MacroeconomicCountry { HongKong, China,