messense commented on code in PR #3514:
URL:
https://github.com/apache/incubator-opendal/pull/3514#discussion_r1385853433
##########
bindings/python/src/operator.rs:
##########
@@ -29,10 +29,9 @@ use crate::*;
fn build_operator(
scheme: ocore::Scheme,
map: HashMap<String, String>,
- blocking: bool,
) -> PyResult<ocore::Operator> {
let mut op = ocore::Operator::via_map(scheme, map).map_err(format_pyerr)?;
- if blocking && !op.info().full_capability().blocking {
Review Comment:
This means blocking layer will be enabled even for AsyncOperator, will it
incur any performance penalty?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]