@@ -503,7 +503,7 @@ def fetch_advisories(
503503 * ,
504504 cursor : str | None = MISSING ,
505505 limit : int = MISSING ,
506- order_by : AdvisoryOrder = MISSING ,
506+ order : AdvisoryOrder = MISSING ,
507507 reverse : bool = MISSING ,
508508 ** kwargs , # TODO
509509 ) -> Connection [Advisory ]:
@@ -519,7 +519,7 @@ def fetch_advisories(
519519 The cursor to start at.
520520 limit: :class:`int`
521521 The maximum number of elements to yield.
522- order_by : :class:`~github.AdvisoryOrder`
522+ order : :class:`~github.AdvisoryOrder`
523523 The field by which to order the elements.
524524 reverse: :class:`bool`
525525 Whether to yield the elements in reverse order.
@@ -537,7 +537,7 @@ def fetch_advisories(
537537
538538 return github .Connection (
539539 self ._http .collect_query_advisories ,
540- order_by .value if order_by is not MISSING else None ,
540+ order .value if order is not MISSING else None ,
541541 data_map = lambda d : github .Advisory ._from_data (d , http = self ._http ),
542542 cursor = cursor if cursor is not MISSING else None ,
543543 limit = limit if limit is not MISSING else None ,
@@ -551,7 +551,7 @@ def fetch_sponsorables(
551551 * ,
552552 cursor : str | None = MISSING ,
553553 limit : int = MISSING ,
554- order_by : SponsorableOrder = MISSING ,
554+ order : SponsorableOrder = MISSING ,
555555 reverse : bool = MISSING ,
556556 ** kwargs , # TODO
557557 ) -> Connection [Organization | User ]:
@@ -573,7 +573,7 @@ def fetch_sponsorables(
573573 The cursor to start at.
574574 limit: :class:`int`
575575 The maximum number of elements to yield.
576- order_by : :class:`~github.SponsorableOrder`
576+ order : :class:`~github.SponsorableOrder`
577577 The field by which to order the elements.
578578 reverse: :class:`bool`
579579 Whether to yield the elements in reverse order.
@@ -591,7 +591,7 @@ def fetch_sponsorables(
591591
592592 return github .Connection (
593593 self ._http .collect_query_sponsorables ,
594- order_by .value if order_by is not MISSING else None ,
594+ order .value if order is not MISSING else None ,
595595 data_map = lambda d : github .Organization ._from_data (d , http = self ._http ) if d ["__typename" ] == "Organization" else github .User ._from_data (d , http = self ._http ),
596596 cursor = cursor if cursor is not MISSING else None ,
597597 limit = limit if limit is not MISSING else None ,
@@ -605,7 +605,7 @@ def fetch_vulnerabilities(
605605 * ,
606606 cursor : str | None = MISSING ,
607607 limit : int = MISSING ,
608- order_by : VulnerabilityOrder = MISSING ,
608+ order : VulnerabilityOrder = MISSING ,
609609 reverse : bool = MISSING ,
610610 ** kwargs , # TODO
611611 ) -> Connection [Vulnerability ]:
@@ -621,7 +621,7 @@ def fetch_vulnerabilities(
621621 The cursor to start at.
622622 limit: :class:`int`
623623 The maximum number of elements to yield.
624- order_by : :class:`~github.VulnerabilityOrder`
624+ order : :class:`~github.VulnerabilityOrder`
625625 The field by which to order the elements.
626626 reverse: :class:`bool`
627627 Whether to yield the elements in reverse order.
@@ -639,7 +639,7 @@ def fetch_vulnerabilities(
639639
640640 return github .Connection (
641641 self ._http .collect_query_vulnerabilities ,
642- order_by .value if order_by is not MISSING else None ,
642+ order .value if order is not MISSING else None ,
643643 data_map = lambda d : github .Vulnerability ._from_data (d ),
644644 cursor = cursor if cursor is not MISSING else None ,
645645 limit = limit if limit is not MISSING else None ,
0 commit comments