Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for ENV (0.13 sec)

  1. configure.py

      def maybe_encode_env(env):
        """Encodes unicode in env to str on Windows python 2.x."""
        if not is_windows() or sys.version_info[0] != 2:
          return env
        for k, v in env.items():
          if isinstance(k, unicode):
            k = k.encode('ascii')
          if isinstance(v, unicode):
            v = v.encode('ascii')
          env[k] = v
        return env
    
      cuda_libraries = ['cuda', 'cudnn']
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  2. docs_src/settings/app03_an_py39/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
        class Config:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 204 bytes
    - Viewed (0)
  3. docs_src/settings/app03/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
        class Config:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 204 bytes
    - Viewed (0)
  4. bin/diff_yaml.py

    #!/usr/bin/env python
    #
    # Copyright 2018 Istio Authors
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #    http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    Python
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
Back to top