Comments (3)
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-ml-sdk @azureml-github.
from azure-sdk-for-python.
@seekerofsai - Can you please confirm the output of create_or_update? I used below script and its providing expected results.
credential = DefaultAzureCredential()
ml_client = MLClient(
credential=credential,
subscription_id=subscription_id,
resource_group_name=resource_group,
workspace_name=workspace_name,
)
config_db_name ="testingGHIssue"
dataset = Data(
path="D:\mlflow\code\data\ames_housing.csv",
type=AssetTypes.URI_FILE,
description="testData",
name=config_db_name,
)
data = ml_client.data.create_or_update(dataset)
dataItem = ml_client.data.get(name=data.name,version=data.version)
print(f"asset URI: {dataItem.path}")
v1df = pd.read_csv(dataItem.path)
print(v1df.head(5))
dataItems = ml_client.data.list(config_db_name)
for i, r in enumerate(dataItems):
print(r.name + r.version)
from azure-sdk-for-python.
Thanks for the feedback. when a new dataset is created, get api works. but list does not get any items
aml_dataset = Data(
path=config['data_path'],
type=AssetTypes.URI_FILE,
description=config['dataset_desc'],
name=config['dataset_name'],
)
ml_client.data.create_or_update(aml_dataset)
aml_dataset = ml_client.data.get(
name=dataset_name, label="latest"
)
print(aml_dataset.id)
dataItems = ml_client.data.list(dataset_config['dataset_name'])
for i, r in enumerate(dataItems):
print(r.name + r.version)
output
/subscriptions/<>/resourceGroups/<>/providers/Microsoft.MachineLearningServices/workspaces/<>/data/<>/versions/2
from azure-sdk-for-python.
Related Issues (20)
- [breaking changes tracker] Accept changelog argument
- [breaking changes tracker] Changelog - report new classes
- [breaking changes tracker] Changelog - report new properties on classes
- [breaking changes tracker] Changelog - report new clients
- [breaking changes tracker] Changelog - report new module
- [breaking changes tracker] Changelog - report operations
- [breaking changes tracker] Changelog - report new operation groups
- [breaking changes tracker] Support operation overloads
- [breaking changes tracker] Support type changes
- [breaking changes tracker] Breaking - report removed operation group
- [breaking changes tracker] Update suppression mechanism to support more complex suppression scenarios
- [identity] DefaultAzureCredentials do not work properly under a proxy environment HOT 4
- azure-identity support for few remaining clients HOT 4
- BatchPoolIdentity Class info about the "type" parameter to its constructor is incorrect HOT 1
- azure-eventhub needs linting updates for pylint version 3.1.0
- SecurityCenter().security_contacts list bug HOT 1
- Accessing message type, IoT Hub and encoding information via `azure.servicebus.ServiceBusReceivedMessage` HOT 3
- Keyvault 7.5 dropped sas_definition API bindings HOT 8
- ServiceRequestError: SSL Certificate Verification Failure with Azure Document Intelligence HOT 7
- Create a Custom Translator Model using the API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-python.