Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[NetworkLoadBalancer] Definitions are missing in the SDK

オープン
#852 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

src/oci/network_load_balancer/models/dns_health_checker_details.py から始めて、rcodes プロパティとその型参照を調べます。issue で言及されている Go の定義および既存の SDK モデル定義と比較します。完了条件は、Python SDK が DNS RCODE 型を列挙型として正しく公開することです。

索引モデルが issue の本文から書いたものです。

説明

SDK

I work with different resource types and rely on proper typing in the SDK.
NetworkLoadBalancers define a health checker and this health checker defines DNS Details.
The parameter rcodes is defined like this:

        :param rcodes:
            The value to assign to the rcodes property of this DnsHealthCheckerDetails.
        :type rcodes: list[oci.network_load_balancer.models.DnsHealthCheckRCodes]

but the related type oci.network_load_balancer.models.DnsHealthCheckRCodes does not exist.

The property let me guess that this is a string:

    @property
    def rcodes(self):
        """
        Gets the rcodes of this DnsHealthCheckerDetails.
        An array that represents accepetable RCODE values for DNS query response.
        Example: [\"NOERROR\", \"NXDOMAIN\"]

Looking at the go definition, this is actually an enumeration.
Ideally this would be reflected correctly in the python SDK as well.

主要言語
Python
スター
474
フォーク
321
平均マージ
23分
マージ済み PR(30日)
4

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oracle/oci-python-sdk のほかの issue

oracle/oci-python-sdk の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。