aws / aws/sagemaker-python-sdk

'LocalSagemakerClient' object has no attribute 'describe_user_profile'

Open
#4,417 0 comments 0 reactions 1 assignee Claimed by @nargokul View on GitHub
component: pysdk-team type: bug
Dominant language
Python
Stars
2.3k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
35

Description

**Describe the bug**
I was trying to build and run a local sagemaker pipeline. See attached file.
[local_pipe_step_deco.md](https://github.com/aws/sagemaker-python-sdk/files/14205980/local_pipe_step_deco.md)

I tried to run it from a console as a script and from a notebook. Both runs resulted in same error:
AttributeError: 'LocalSagemakerClient' object has no attribute 'describe_user_profile'

So I looked inside the code definition: https://github.com/aws/sagemaker-python-sdk/blob/87d661a8caff9c0671bce183000be6133d9103b9/src/sagemaker/local/local_session.py#L56
and, indeed, didn't find any attributes or functions with the name 'describe_user_profile'.

**System information**
- **SageMaker Python SDK version**: 2.203.1
- **Python version**: 3.10
- **CPU or GPU**: ml.m5.large
- **Custom Docker image (Y/N)**: Y

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.