Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for total_seconds (0.06 seconds)

  1. scripts/people.py

            # Handle primary rate limits
            primary_limit_wait_time = 0.0
            if self.remaining_points <= self.last_query_cost:
                primary_limit_wait_time = (self.reset_at - now).total_seconds() + 2
                logging.warning(
                    f"Approaching GitHub API rate limit, remaining points: {self.remaining_points}, "
                    f"reset time in {primary_limit_wait_time} seconds"
                )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. fastapi/encoders.py

        bytes: lambda o: o.decode(),
        Color: str,  # ty: ignore[deprecated]
        datetime.date: isoformat,
        datetime.datetime: isoformat,
        datetime.time: isoformat,
        datetime.timedelta: lambda td: td.total_seconds(),
        Decimal: decimal_encoder,
        Enum: lambda o: o.value,
        frozenset: list,
        deque: list,
        GeneratorType: list,
        IPv4Address: str,
        IPv4Interface: str,
        IPv4Network: str,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
Back to Top