@@ -16,7 +16,7 @@ use opsqueue::{
1616use opsqueue:: {
1717 common:: { chunk, submission, StrategicMetadataMap } ,
1818 object_store:: { ChunkRetrievalError , ChunkType } ,
19- producer:: common :: ChunkContents ,
19+ producer:: ChunkContents ,
2020 tracing:: CarrierMap ,
2121 E ,
2222} ;
@@ -50,9 +50,9 @@ impl ProducerClient {
5050 /// :param object_store_url: The URL used to upload/download objects from e.g. GCS.
5151 /// use `file:///tmp/my/local/path` to use a local file when running small examples in development.
5252 /// use `gs://bucket-name/path/inside/bucket` to connect to GCS in production.
53- /// Supports the formats listed here: https://docs.rs/object_store/0.11.1/object_store/enum.ObjectStoreScheme.html#method.parse
53+ /// Supports the formats listed here: < https://docs.rs/object_store/0.11.1/object_store/enum.ObjectStoreScheme.html#method.parse>
5454 /// :param object_store_options: A list of key-value strings as extra options for the chosen object store.
55- /// For example, for GCS, see https://docs.rs/object_store/0.11.2/object_store/gcp/enum.GoogleConfigKey.html#variants
55+ /// For example, for GCS, see < https://docs.rs/object_store/0.11.2/object_store/gcp/enum.GoogleConfigKey.html#variants>
5656 #[ new]
5757 #[ pyo3( signature = ( address, object_store_url, object_store_options=vec![ ] ) ) ]
5858 pub fn new (
@@ -81,7 +81,7 @@ impl ProducerClient {
8181 pub fn __repr__ ( & self ) -> String {
8282 format ! (
8383 "<opsqueue_producer.ProducerClient(address={:?}, object_store_url={:?})>" ,
84- self . producer_client. endpoint_url ,
84+ self . producer_client. base_url ( ) ,
8585 self . object_store_client. url( )
8686 )
8787 }
@@ -176,7 +176,7 @@ impl ProducerClient {
176176 let strategic_metadata = Default :: default ( ) ;
177177
178178 py. allow_threads ( || {
179- let submission = opsqueue:: producer:: common :: InsertSubmission {
179+ let submission = opsqueue:: producer:: InsertSubmission {
180180 chunk_size : chunk_size. map ( |n| chunk:: ChunkSize ( n as i64 ) ) ,
181181 chunk_contents : ChunkContents :: Direct {
182182 contents : chunk_contents,
@@ -235,7 +235,7 @@ impl ProducerClient {
235235 tracing:: debug!( "Finished uploading to object store. {prefix} contains {chunk_count} chunks" ) ;
236236
237237 self . block_unless_interrupted ( async move {
238- let submission = opsqueue:: producer:: common :: InsertSubmission {
238+ let submission = opsqueue:: producer:: InsertSubmission {
239239 chunk_size : chunk_size. map ( chunk:: ChunkSize ) ,
240240 chunk_contents : ChunkContents :: SeeObjectStorage {
241241 prefix : prefix. clone ( ) ,
0 commit comments