Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setLine (0.23 sec)

  1. .github/actions/people/app/main.py

            sys.exit(0)
        people_path.write_text(new_people_content, encoding="utf-8")
        github_sponsors_path.write_text(new_github_sponsors_content, encoding="utf-8")
        logging.info("Setting up GitHub Actions git user")
        subprocess.run(["git", "config", "user.name", "github-actions"], check=True)
        subprocess.run(
            ["git", "config", "user.email", "******@****.***"], check=True
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  2. tests/test_tutorial/test_conditional_openapi/test_tutorial001.py

        client = TestClient(tutorial001.app)
        return client
    
    
    @needs_pydanticv2
    def test_disable_openapi(monkeypatch):
        monkeypatch.setenv("OPENAPI_URL", "")
        # Load the client after setting the env var
        client = get_client()
        response = client.get("/openapi.json")
        assert response.status_code == 404, response.text
        response = client.get("/docs")
        assert response.status_code == 404, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. fastapi/applications.py

                    """
                    The path to the automatic interactive API documentation.
                    It is handled in the browser by Swagger UI.
    
                    The default URL is `/docs`. You can disable it by setting it to `None`.
    
                    If `openapi_url` is set to `None`, this will be automatically disabled.
    
                    Read more in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  4. configure.py

        if check_success(val):
          break
        if not suppress_default_error:
          print(error_msg % val)
        environ_cp[var_name] = ''
      else:
        raise UserInputError('Invalid %s setting was provided %d times in a row. '
                             'Assuming to be a scripting mistake.' %
                             (var_name, n_ask_attempts))
    
      if resolve_symlinks:
        val = os.path.realpath(val)
    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)
Back to top