Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for __main__ (0.12 sec)

  1. ci/official/utilities/convert_msys_paths_to_win_paths.py

      var_str = '\n'.join(f'{k}="{v}"'
                          for k, v in converted_vars.items())
      # The string can then be piped into `source`, to re-set the
      # 'converted' variables.
      print(var_str)
    
    
    if __name__ == '__main__':
      parser = argparse.ArgumentParser(description=(
          'Convert MSYS paths in environment variables to Windows paths.'))
      parser.add_argument('--blacklist',
                          nargs='*',
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs/sts/web-identity.py

                                     region_name='us-east-1')
    
        bucket = s3_resource.Bucket('testbucket')
    
        for obj in bucket.objects.all():
            print(obj)
    
        return "success"
    
    
    if __name__ == '__main__':
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. scripts/deploy_docs_status.py

            message += "\n".join([f"* {link}" for link in links])
    
        print(message)
        use_pr.as_issue().create_comment(message)
    
        logging.info("Finished")
    
    
    if __name__ == "__main__":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. bin/diff_yaml.py

        parser.add_argument("--ignore-annotations", action="store_true", default=False,
                            help="Ignore annotations during comparison")
    
        return parser
    
    
    if __name__ == "__main__":
        parser = get_parser()
        args = parser.parse_args()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. scripts/docs.py

    from multiprocessing import Pool
    from pathlib import Path
    from typing import Any, Dict, List, Optional, Union
    
    import mkdocs.utils
    import typer
    import yaml
    from jinja2 import Template
    from ruff.__main__ import find_ruff_bin
    
    logging.basicConfig(level=logging.INFO)
    
    app = typer.Typer()
    
    mkdocs_name = "mkdocs.yml"
    
    missing_translation_snippet = """
    {!../../docs/missing-translation.md!}
    """
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. ci/official/utilities/extract_resultstore_links.py

      if args.xml_out_path:
        output_path = os.path.expandvars(args.xml_out_path)
        create_xml_file(links, output_path, verbose=verbose)
      if args.print:
        print_invocation_results(links)
    
    
    if __name__ == '__main__':
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. docs/lambda/README.md

    		resp = make_response(transformed_object, 200)
    		resp.headers['x-amz-request-route'] = request_route
    		resp.headers['x-amz-request-token'] = request_token
    		return resp
    
    	else:
    		abort(400)
    
    if __name__ == '__main__':
    	app.run()
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 04 19:15:28 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. .github/actions/notify-translations/app/main.py

            comment_id=comment_id,
            body=body,
        )
        response = UpdateCommentResponse.parse_obj(data)
        return response.data.updateDiscussionComment.comment
    
    
    if __name__ == "__main__":
        settings = Settings()
        if settings.input_debug:
            logging.basicConfig(level=logging.DEBUG)
        else:
            logging.basicConfig(level=logging.INFO)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. .github/actions/people/app/main.py

                        "count": count,
                        "avatarUrl": author.avatarUrl,
                        "url": author.url,
                    }
                )
        return users
    
    
    if __name__ == "__main__":
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.input_token.get_secret_value())
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (1)
  10. configure.py

      print('Preconfigured Bazel build configs to DISABLE default on features:')
      config_info_line('nogcp', 'Disable GCP support.')
      config_info_line('nonccl', 'Disable NVIDIA NCCL support.')
    
    
    if __name__ == '__main__':
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
Back to top