You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using task factory "task per file" with source defined as container URL fails with error:
AttributeError: 'SplitResult' object has no attribute 'pathname'
(or at least not for the last three years). According to urllib.parse.urlsplit documentation for both py2 and py3 and manually executing these 5 lines on your url it looks to be path instead of pathname.
Using task factory "task per file" with source defined as container URL fails with error:
AttributeError: 'SplitResult' object has no attribute 'pathname'
Here is extract from the job template:
{
(...)
"parameters":{
(...)
"inputContainerUrl":{
"type":"string",
"defaultValue":"https://tojobatch.blob.core.windows.net/fgrp-sequencer-input?st=2020-04-29T20%3A20%3A06Z&se=2020-05-30T20%3A20%3A00Z&sp=rl&sv=2018-03-28&sr=c&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
(...)
"job":{
(...)
"taskFactory":{
"type":"taskPerFile",
"source":{
"containerUrl": "[parameters('inputContainerUrl')]"
},
(...)
The same template works ok when using source with "fileGroup" parameter.
Software level:
$ az --version
azure-cli 2.4.0 *
command-modules-nspkg 2.0.3
core 2.4.0 *
nspkg 3.0.4
telemetry 1.0.4
Extensions:
image-copy-extension 0.0.9
azure-batch-cli-extensions 5.0.1
The text was updated successfully, but these errors were encountered: