Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Some times OCI usage api currency getting empty

Đang mở
#771 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api, cloud

Hướng nghiên cứu

Không có tệp nào trong repository, test hay entry point được nêu tên. Hãy bắt đầu bằng cách tái hiện phản hồi của OCI Usage API và truy vết xem giá trị tiền tệ trống bắt nguồn từ phản hồi của service hay từ việc xử lý của SDK; công việc được xem là hoàn tất khi đã xác định được nguồn gốc và hành vi tiền tệ ожида kiến.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Usage

I am facing an issue with the Usage API currency field. Sometimes, the currency value returns as None. Please let me know if any changes are required—I will make them accordingly.
@adizohar

{
  "ad": null,
  "attributed_cost": "0",
  "attributed_usage": "0",
  "compartment_id": null,
  "compartment_name": "Infolob",
  "compartment_path": null,
  "computed_amount": 0.93,
  "computed_quantity": 0.0,
  "currency": " ",
  "discount": null,
  "is_forecast": false,
  "list_rate": null,
  "overage": null,
  "overages_flag": null,
  "platform": null,
  "region": null,
  "resource_id": "ocid1.bootvolume.oc1.ap-hyderabad-1.abuhsljrv776x6swqtdpzskszcrs6dni6i4pmm755sp4pylg34twke2h2rqa",
  "resource_name": null,
  "service": "Block Storage",
  "shape": null,
  "sku_name": null,
  "sku_part_number": null,
  "subscription_id": null,
  "tags": [
    {
      "key": null,
      "namespace": null,
      "value": null
    }
  ],
  "tenant_id": null,
  "tenant_name": null,
  "time_usage_ended": "2025-06-0500:00:00+00:00",
  "time_usage_started": "2025-06-04T00:00:00+00:00",
  "unit": null,
  "unit_price": null,
  "weight": null
}
--------
{
  "ad": null,
  "attributed_cost": "0",
  "attributed_usage": "0",
  "compartment_id": null,
  "compartment_name": "Infolob",
  "compartment_path": null,
  "computed_amount": null,
  "computed_quantity": 0.0,
  "currency": " ",
  "discount": null,
  "is_forecast": false,
  "list_rate": null,
  "overage": null,
  "overages_flag": null,
  "platform": null,
  "region": null,
  "resource_id": "ocid1.bootvolume.oc1.ap-hyderabad-1.abuhsljrv776x6swqtdpzskszcrs6dni6i4pmm755sp4pylg34twke2h2rqa",
  "resource_name": null,
  "service": "Block Storage",
  "shape": null,
  "sku_name": null,
  "sku_part_number": null,
  "subscription_id": null,
  "tags": [
    {
      "key": null,
      "namespace": null,
      "value": null
    }
  ],
  "tenant_id": null,
  "tenant_name": null,
  "time_usage_ended": "2025-06-04T00:00:00+00:00",
  "time_usage_started": "2025-06-03T00:00:00+00:00",
  "unit": null,
  "unit_price": null,
  "weight": null
}
Ngôn ngữ chính
Python
Star
474
Fork
321
Merge trung bình
23 phút
Pull request đã merge (30 ngày)
4

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oracle/oci-python-sdk

Tất cả issue của oracle/oci-python-sdk

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.