Skip to content

[Bug]: List methods ignores limit kwarg  #752

Open
@tanyakoganoracle

Description

@tanyakoganoracle

Oracle-ads version used

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of oracle-ads.

  • I have confirmed this bug exists on the main branch of oracle-ads.

  • I agree to follow Code of Conduct.

Description

DataScienceJob.list_jobs,
ModelDeployment.list(
compartment_id=oci_environment.compartment_id,
project_id=oci_environment.project_id,
limit=15
)
This methods ignores the limit variable. Maybe another similar methods for other classes too.

How to Reproduce

ModelDeployment.list(
    compartment_id=oci_environment.compartment_id,
    project_id=oci_environment.project_id,
    limit=15
)

What was Observed

returns a lot more then 15

What was Expected

Only 15 items

Version

oracle-ads==2.8.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    ackacknowledgedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions