diff --git a/python/src/fundamental/types.rs b/python/src/fundamental/types.rs index ea842a54b..89c16bd48 100644 --- a/python/src/fundamental/types.rs +++ b/python/src/fundamental/types.rs @@ -1988,7 +1988,7 @@ impl From for MultiLanguageText { } /// Country code for filtering macroeconomic indicators -#[pyclass] +#[pyclass(from_py_object)] #[derive(Debug, Copy, Clone)] pub(crate) enum MacroeconomicCountry { HongKong, diff --git a/rust/src/blocking/fundamental.rs b/rust/src/blocking/fundamental.rs index 532c09bc1..cbd068215 100644 --- a/rust/src/blocking/fundamental.rs +++ b/rust/src/blocking/fundamental.rs @@ -321,6 +321,7 @@ impl FundamentalContextSync { } /// List macroeconomic indicators (v2) with optional keyword filter + #[allow(dead_code)] pub(crate) fn macroeconomic_indicators_v2( &self, country: Option, @@ -335,6 +336,7 @@ impl FundamentalContextSync { } /// Get historical data for a macroeconomic indicator (v2) with sort support + #[allow(dead_code)] pub(crate) fn macroeconomic_v2( &self, indicator_code: impl Into + Send + 'static,