@@ -40,19 +40,20 @@ impl SpiceClientConfig {
4040 }
4141}
4242
43- /// The SpiceClient is the main entry point for interacting with the Spice API.
43+ /// The ` SpiceClient` is the main entry point for interacting with the Spice API.
4444/// It provides methods for querying the Spice Flight and Firecache endpoints,
4545/// as well as the Spice Prices endpoint.
46+ #[ allow( clippy:: module_name_repetitions) ]
4647pub struct SpiceClient {
4748 flight : SqlFlightClient ,
4849 firecache : SqlFlightClient ,
4950 prices : PricesClient ,
5051}
5152
5253impl SpiceClient {
53- /// Creates a new SpiceClient with the given API key.
54+ /// Creates a new ` SpiceClient` with the given API key.
5455 /// ```
55- /// use spice_rs ::Client;
56+ /// use spiceai ::Client;
5657 ///
5758 /// #[tokio::main]
5859 /// async fn main() {
@@ -71,7 +72,7 @@ impl SpiceClient {
7172
7273 /// Queries the Spice Flight endpoint with the given SQL query.
7374 /// ```
74- /// # use spice_rs ::Client;
75+ /// # use spiceai ::Client;
7576 /// #
7677 /// # #[tokio::main]
7778 /// # async fn main() {
@@ -85,7 +86,7 @@ impl SpiceClient {
8586
8687 /// Queries the Spice Firecache endpoint with the given SQL query.
8788 /// ```
88- /// # use spice_rs ::Client;
89+ /// # use spiceai ::Client;
8990 /// #
9091 /// # #[tokio::main]
9192 /// # async fn main() {
@@ -102,7 +103,7 @@ impl SpiceClient {
102103
103104 /// Get the supported pairs:
104105 /// ```rust
105- /// # use spice_rs ::Client;
106+ /// # use spiceai ::Client;
106107 /// #
107108 /// # #[tokio::main]
108109 /// # async fn main() {
@@ -116,7 +117,7 @@ impl SpiceClient {
116117
117118 /// Get the latest price for a token pair:
118119 /// ```rust
119- /// # use spice_rs ::Client;
120+ /// # use spiceai ::Client;
120121 /// #
121122 /// # #[tokio::main]
122123 /// # async fn main() {
@@ -130,7 +131,7 @@ impl SpiceClient {
130131
131132 /// Get historical data:
132133 /// ```rust
133- /// # use spice_rs ::Client;
134+ /// # use spiceai ::Client;
134135 /// # use chrono::Utc;
135136 /// # use chrono::Duration;
136137 /// # use std::ops::Sub;
0 commit comments