body_hash
stringlengths
64
64
body
stringlengths
23
109k
docstring
stringlengths
1
57k
path
stringlengths
4
198
name
stringlengths
1
115
repository_name
stringlengths
7
111
repository_stars
float64
0
191k
lang
stringclasses
1 value
body_without_docstring
stringlengths
14
108k
unified
stringlengths
45
133k
b25e32e123c9558072ddc1bd42238ea95fcf596322a90c03083db0eb1740dd72
def _expand_alternative_questions(self) -> None: 'Generate different permutations of a question if requested' def replace_media(orig: Dict, new: Dict) -> None: 'Replace media info in orig with the info in new' orig['lysrc'] = copy.deepcopy(new['lysrc']) orig['text'] = (new['text'] if ('...
Generate different permutations of a question if requested
lib/content.py
_expand_alternative_questions
vsiivola/vesamusictraining
2
python
def _expand_alternative_questions(self) -> None: def replace_media(orig: Dict, new: Dict) -> None: 'Replace media info in orig with the info in new' orig['lysrc'] = copy.deepcopy(new['lysrc']) orig['text'] = (new['text'] if ('text' in new) else None) for doc in self.index: ...
def _expand_alternative_questions(self) -> None: def replace_media(orig: Dict, new: Dict) -> None: 'Replace media info in orig with the info in new' orig['lysrc'] = copy.deepcopy(new['lysrc']) orig['text'] = (new['text'] if ('text' in new) else None) for doc in self.index: ...
7e0e49c8a218c2cba5168776a0cb6be4e29c1f71f7cdb529c5e5dd343804b16d
def expand(self) -> None: 'Create all exercise rounds (repeats, transposes).' self._generate_extra_rounds() for doc in self.index: for exer in doc['Exercises']: self._augment_missing_info(exer) self._expand_alternative_questions()
Create all exercise rounds (repeats, transposes).
lib/content.py
expand
vsiivola/vesamusictraining
2
python
def expand(self) -> None: self._generate_extra_rounds() for doc in self.index: for exer in doc['Exercises']: self._augment_missing_info(exer) self._expand_alternative_questions()
def expand(self) -> None: self._generate_extra_rounds() for doc in self.index: for exer in doc['Exercises']: self._augment_missing_info(exer) self._expand_alternative_questions()<|docstring|>Create all exercise rounds (repeats, transposes).<|endoftext|>
971a0028306ef98994c863c19aef7a670821ab7515b85826b6812b18029619e2
def _convert_to_lilysource(self) -> None: 'Put the info needed for lilypond creation to LilySource object.' ly_var_keys = ['notes', 'annotation', 'tempo', 'hidden_tempo', 'style', 'instrument', 'transpose'] for eresp in self.get_questions_and_choices(): for ly_var in ly_var_keys: if (not...
Put the info needed for lilypond creation to LilySource object.
lib/content.py
_convert_to_lilysource
vsiivola/vesamusictraining
2
python
def _convert_to_lilysource(self) -> None: ly_var_keys = ['notes', 'annotation', 'tempo', 'hidden_tempo', 'style', 'instrument', 'transpose'] for eresp in self.get_questions_and_choices(): for ly_var in ly_var_keys: if (not (ly_var in eresp)): eresp[ly_var] = None ...
def _convert_to_lilysource(self) -> None: ly_var_keys = ['notes', 'annotation', 'tempo', 'hidden_tempo', 'style', 'instrument', 'transpose'] for eresp in self.get_questions_and_choices(): for ly_var in ly_var_keys: if (not (ly_var in eresp)): eresp[ly_var] = None ...
b76b4c611888c1f281078e6001600b19a7be15b53cc08100b66671498d2713e1
def get_questions_and_choices(self) -> Generator[(Dict, None, None)]: 'List all items that need media resources' for doc in self.index: for exer in doc['Exercises']: (yield exer) for alt in exer['confusers']: (yield alt)
List all items that need media resources
lib/content.py
get_questions_and_choices
vsiivola/vesamusictraining
2
python
def get_questions_and_choices(self) -> Generator[(Dict, None, None)]: for doc in self.index: for exer in doc['Exercises']: (yield exer) for alt in exer['confusers']: (yield alt)
def get_questions_and_choices(self) -> Generator[(Dict, None, None)]: for doc in self.index: for exer in doc['Exercises']: (yield exer) for alt in exer['confusers']: (yield alt)<|docstring|>List all items that need media resources<|endoftext|>
76471bd5158f7eebe2e8649991bf37e7aa82669f6cbbd263e515f24d2a4162b9
def insert_filenames(self, sound_tasks: Dict, image_tasks: Dict, fname_modfunc: Optional[Callable[([str], str)]]=None) -> None: 'Insert deduplicated media fnames into the lecture index.' fcl = (fname_modfunc if fname_modfunc else (lambda x: x)) for eresp in self.get_questions_and_choices(): lysrc = ...
Insert deduplicated media fnames into the lecture index.
lib/content.py
insert_filenames
vsiivola/vesamusictraining
2
python
def insert_filenames(self, sound_tasks: Dict, image_tasks: Dict, fname_modfunc: Optional[Callable[([str], str)]]=None) -> None: fcl = (fname_modfunc if fname_modfunc else (lambda x: x)) for eresp in self.get_questions_and_choices(): lysrc = eresp['lysrc'] ssign = lysrc.sound_signature() ...
def insert_filenames(self, sound_tasks: Dict, image_tasks: Dict, fname_modfunc: Optional[Callable[([str], str)]]=None) -> None: fcl = (fname_modfunc if fname_modfunc else (lambda x: x)) for eresp in self.get_questions_and_choices(): lysrc = eresp['lysrc'] ssign = lysrc.sound_signature() ...
f8e839c4879a203c51de932a65543ce84faab2debe4f17c6f3ef7210b5484439
def replace_media(orig: Dict, new: Dict) -> None: 'Replace media info in orig with the info in new' orig['lysrc'] = copy.deepcopy(new['lysrc']) orig['text'] = (new['text'] if ('text' in new) else None)
Replace media info in orig with the info in new
lib/content.py
replace_media
vsiivola/vesamusictraining
2
python
def replace_media(orig: Dict, new: Dict) -> None: orig['lysrc'] = copy.deepcopy(new['lysrc']) orig['text'] = (new['text'] if ('text' in new) else None)
def replace_media(orig: Dict, new: Dict) -> None: orig['lysrc'] = copy.deepcopy(new['lysrc']) orig['text'] = (new['text'] if ('text' in new) else None)<|docstring|>Replace media info in orig with the info in new<|endoftext|>
3d55f255395c080cd13dc9deb34936342c08c3389d12d7951051882175de0cd1
def get_profile(name: Optional[str]=None, resource_group_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableGetProfileResult: '\n Use this data source to access information about an existing CDN Profile.\n\n ## Example Usage\n\n ```python\n import pulumi\n import pulumi_...
Use this data source to access information about an existing CDN Profile. ## Example Usage ```python import pulumi import pulumi_azure as azure example = azure.cdn.get_profile(name="myfirstcdnprofile", resource_group_name="example-resources") pulumi.export("cdnProfileId", example.id) ``` :param str name: The n...
sdk/python/pulumi_azure/cdn/get_profile.py
get_profile
henriktao/pulumi-azure
109
python
def get_profile(name: Optional[str]=None, resource_group_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableGetProfileResult: '\n Use this data source to access information about an existing CDN Profile.\n\n ## Example Usage\n\n ```python\n import pulumi\n import pulumi_...
def get_profile(name: Optional[str]=None, resource_group_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableGetProfileResult: '\n Use this data source to access information about an existing CDN Profile.\n\n ## Example Usage\n\n ```python\n import pulumi\n import pulumi_...
12a05ea55a6dd487061b9a589983acbcf32efbdfca3a4e64da947a3000c8588c
@_utilities.lift_output_func(get_profile) def get_profile_output(name: Optional[pulumi.Input[str]]=None, resource_group_name: Optional[pulumi.Input[str]]=None, opts: Optional[pulumi.InvokeOptions]=None) -> pulumi.Output[GetProfileResult]: '\n Use this data source to access information about an existing CDN Profi...
Use this data source to access information about an existing CDN Profile. ## Example Usage ```python import pulumi import pulumi_azure as azure example = azure.cdn.get_profile(name="myfirstcdnprofile", resource_group_name="example-resources") pulumi.export("cdnProfileId", example.id) ``` :param str name: The n...
sdk/python/pulumi_azure/cdn/get_profile.py
get_profile_output
henriktao/pulumi-azure
109
python
@_utilities.lift_output_func(get_profile) def get_profile_output(name: Optional[pulumi.Input[str]]=None, resource_group_name: Optional[pulumi.Input[str]]=None, opts: Optional[pulumi.InvokeOptions]=None) -> pulumi.Output[GetProfileResult]: '\n Use this data source to access information about an existing CDN Profi...
@_utilities.lift_output_func(get_profile) def get_profile_output(name: Optional[pulumi.Input[str]]=None, resource_group_name: Optional[pulumi.Input[str]]=None, opts: Optional[pulumi.InvokeOptions]=None) -> pulumi.Output[GetProfileResult]: '\n Use this data source to access information about an existing CDN Profi...
bcf5b51a327014088b63f706e1dc3987198031e1f0241bd10b06cf4dd5bcb53c
@property @pulumi.getter def id(self) -> str: '\n The provider-assigned unique ID for this managed resource.\n ' return pulumi.get(self, 'id')
The provider-assigned unique ID for this managed resource.
sdk/python/pulumi_azure/cdn/get_profile.py
id
henriktao/pulumi-azure
109
python
@property @pulumi.getter def id(self) -> str: '\n \n ' return pulumi.get(self, 'id')
@property @pulumi.getter def id(self) -> str: '\n \n ' return pulumi.get(self, 'id')<|docstring|>The provider-assigned unique ID for this managed resource.<|endoftext|>
b897842140b812799ddfbe9ce2c75fb80b3f36b674dd303eb80c70f54740efca
@property @pulumi.getter def location(self) -> str: '\n The Azure Region where the resource exists.\n ' return pulumi.get(self, 'location')
The Azure Region where the resource exists.
sdk/python/pulumi_azure/cdn/get_profile.py
location
henriktao/pulumi-azure
109
python
@property @pulumi.getter def location(self) -> str: '\n \n ' return pulumi.get(self, 'location')
@property @pulumi.getter def location(self) -> str: '\n \n ' return pulumi.get(self, 'location')<|docstring|>The Azure Region where the resource exists.<|endoftext|>
55d73b1ceec25fc7cf42df4b3d7607259c8fdd5e0872734867a146c5283610b4
@property @pulumi.getter def sku(self) -> str: '\n The pricing related information of current CDN profile.\n ' return pulumi.get(self, 'sku')
The pricing related information of current CDN profile.
sdk/python/pulumi_azure/cdn/get_profile.py
sku
henriktao/pulumi-azure
109
python
@property @pulumi.getter def sku(self) -> str: '\n \n ' return pulumi.get(self, 'sku')
@property @pulumi.getter def sku(self) -> str: '\n \n ' return pulumi.get(self, 'sku')<|docstring|>The pricing related information of current CDN profile.<|endoftext|>
1ae93c5f6d1ed1e6a431f5ac8f5648776ac94a05cad9a8dcd9915fd17348c2ad
@property @pulumi.getter def tags(self) -> Mapping[(str, str)]: '\n A mapping of tags assigned to the resource.\n ' return pulumi.get(self, 'tags')
A mapping of tags assigned to the resource.
sdk/python/pulumi_azure/cdn/get_profile.py
tags
henriktao/pulumi-azure
109
python
@property @pulumi.getter def tags(self) -> Mapping[(str, str)]: '\n \n ' return pulumi.get(self, 'tags')
@property @pulumi.getter def tags(self) -> Mapping[(str, str)]: '\n \n ' return pulumi.get(self, 'tags')<|docstring|>A mapping of tags assigned to the resource.<|endoftext|>
1b080a2350fb3ec9d14c99950b6da3ab23969597b2591a3de29ca82d77646550
def layer_norm(input_tensor, axis): 'Run layer normalization on the axis dimension of the tensor.' layer_norma = tf.keras.layers.LayerNormalization(axis=axis) return layer_norma(input_tensor)
Run layer normalization on the axis dimension of the tensor.
layers/layers.py
layer_norm
SestoAle/Sesto_PPO
0
python
def layer_norm(input_tensor, axis): layer_norma = tf.keras.layers.LayerNormalization(axis=axis) return layer_norma(input_tensor)
def layer_norm(input_tensor, axis): layer_norma = tf.keras.layers.LayerNormalization(axis=axis) return layer_norma(input_tensor)<|docstring|>Run layer normalization on the axis dimension of the tensor.<|endoftext|>
fa45270249d453aa642e402b9d19678a28d1dc69177997484e74b08c594e20ec
def create_mask(input, value): '\n Create mask from the input. If the first element is 99, then mask it.\n The mask must be 1 for the input and 0 for the\n ' input = input[(:, tf.newaxis, :, :)] mask = (1 - tf.cast(tf.equal(input[(:, :, :, 0)], value), tf.float32)) return mask
Create mask from the input. If the first element is 99, then mask it. The mask must be 1 for the input and 0 for the
layers/layers.py
create_mask
SestoAle/Sesto_PPO
0
python
def create_mask(input, value): '\n Create mask from the input. If the first element is 99, then mask it.\n The mask must be 1 for the input and 0 for the\n ' input = input[(:, tf.newaxis, :, :)] mask = (1 - tf.cast(tf.equal(input[(:, :, :, 0)], value), tf.float32)) return mask
def create_mask(input, value): '\n Create mask from the input. If the first element is 99, then mask it.\n The mask must be 1 for the input and 0 for the\n ' input = input[(:, tf.newaxis, :, :)] mask = (1 - tf.cast(tf.equal(input[(:, :, :, 0)], value), tf.float32)) return mask<|docstrin...
dd3b6acccb4ef1ffac28aa1cc00dfaae930e2f11a432504bd8be6a14c7da8ccc
def create_mask(input, value): '\n Create mask from the input. If the first element is 99, then mask it.\n The mask must be 1 for the input and 0 for the\n ' mask = (1 - tf.cast(tf.equal(input[(:, :, :, 0)], value), tf.float32)) return mask
Create mask from the input. If the first element is 99, then mask it. The mask must be 1 for the input and 0 for the
layers/layers.py
create_mask
SestoAle/Sesto_PPO
0
python
def create_mask(input, value): '\n Create mask from the input. If the first element is 99, then mask it.\n The mask must be 1 for the input and 0 for the\n ' mask = (1 - tf.cast(tf.equal(input[(:, :, :, 0)], value), tf.float32)) return mask
def create_mask(input, value): '\n Create mask from the input. If the first element is 99, then mask it.\n The mask must be 1 for the input and 0 for the\n ' mask = (1 - tf.cast(tf.equal(input[(:, :, :, 0)], value), tf.float32)) return mask<|docstring|>Create mask fr...
16e81d3feeb4eab5a1a11ea85023121efa4dbfee2d10408e29d3ac161f9a5f27
def recognize(models: dict, test_set: SinglesData): " Recognize test word sequences from word models set\n\n :param models: dict of trained models\n {'SOMEWORD': GaussianHMM model object, 'SOMEOTHERWORD': GaussianHMM model object, ...}\n :param test_set: SinglesData object\n :return: (list, list) as pr...
Recognize test word sequences from word models set :param models: dict of trained models {'SOMEWORD': GaussianHMM model object, 'SOMEOTHERWORD': GaussianHMM model object, ...} :param test_set: SinglesData object :return: (list, list) as probabilities, guesses both lists are ordered by the test set word_id ...
term-1/project-4-recognizer/my_recognizer.py
recognize
rstraker/ai-nanodegree-udacity
0
python
def recognize(models: dict, test_set: SinglesData): " Recognize test word sequences from word models set\n\n :param models: dict of trained models\n {'SOMEWORD': GaussianHMM model object, 'SOMEOTHERWORD': GaussianHMM model object, ...}\n :param test_set: SinglesData object\n :return: (list, list) as pr...
def recognize(models: dict, test_set: SinglesData): " Recognize test word sequences from word models set\n\n :param models: dict of trained models\n {'SOMEWORD': GaussianHMM model object, 'SOMEOTHERWORD': GaussianHMM model object, ...}\n :param test_set: SinglesData object\n :return: (list, list) as pr...
6acdfab01e9f56c3ba32d50966912d5e55f3a3b25f0d4d8442158a0e81ef7b85
def _hash(example_with_id) -> str: 'Hashes a single example.' key = (example_with_id[0], example_with_id[1]['text']) key_bytes = str(key).encode('utf8') return hashlib.sha256(key_bytes).hexdigest()
Hashes a single example.
symanto_fsb/datasets/subj.py
_hash
symanto-research/few-shot-learning-label-tuning
6
python
def _hash(example_with_id) -> str: key = (example_with_id[0], example_with_id[1]['text']) key_bytes = str(key).encode('utf8') return hashlib.sha256(key_bytes).hexdigest()
def _hash(example_with_id) -> str: key = (example_with_id[0], example_with_id[1]['text']) key_bytes = str(key).encode('utf8') return hashlib.sha256(key_bytes).hexdigest()<|docstring|>Hashes a single example.<|endoftext|>
6dd9f97a4be5a964e999e5f40bb05d1f6548503280bc940c62503994ac065f67
def _split(examples, sizes: List[int]): 'Creates a random split of the data.' cum_sizes = [] for i in range(len(sizes)): cum_sizes.append(sum(sizes[:(i + 1)])) num_shards = sum(sizes) for example in examples: h = (int(_hash(example), 16) % num_shards) for (index, size) in enu...
Creates a random split of the data.
symanto_fsb/datasets/subj.py
_split
symanto-research/few-shot-learning-label-tuning
6
python
def _split(examples, sizes: List[int]): cum_sizes = [] for i in range(len(sizes)): cum_sizes.append(sum(sizes[:(i + 1)])) num_shards = sum(sizes) for example in examples: h = (int(_hash(example), 16) % num_shards) for (index, size) in enumerate(cum_sizes): if (h ...
def _split(examples, sizes: List[int]): cum_sizes = [] for i in range(len(sizes)): cum_sizes.append(sum(sizes[:(i + 1)])) num_shards = sum(sizes) for example in examples: h = (int(_hash(example), 16) % num_shards) for (index, size) in enumerate(cum_sizes): if (h ...
7f44f127923208e3a8f05d94ab7edf5acff6a86fc64a9e62b8e90e2fde3c478b
def _split_generators(self, dl_manager): 'Returns SplitGenerators.' data_dir = dl_manager.download_and_extract(_URL) return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={'data_dir': data_dir, 'split': 'train'}), datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'data_dir': data...
Returns SplitGenerators.
symanto_fsb/datasets/subj.py
_split_generators
symanto-research/few-shot-learning-label-tuning
6
python
def _split_generators(self, dl_manager): data_dir = dl_manager.download_and_extract(_URL) return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={'data_dir': data_dir, 'split': 'train'}), datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'data_dir': data_dir, 'split': 'test'}), d...
def _split_generators(self, dl_manager): data_dir = dl_manager.download_and_extract(_URL) return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={'data_dir': data_dir, 'split': 'train'}), datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'data_dir': data_dir, 'split': 'test'}), d...
4f9ecba0728778a8e3a310f48319be0d26097401d3cd19e0efdb44cd54ec3ae6
def _generate_examples(self, data_dir, split): 'Yields examples as (key, example) tuples.' (yield from read(Path(data_dir), split))
Yields examples as (key, example) tuples.
symanto_fsb/datasets/subj.py
_generate_examples
symanto-research/few-shot-learning-label-tuning
6
python
def _generate_examples(self, data_dir, split): (yield from read(Path(data_dir), split))
def _generate_examples(self, data_dir, split): (yield from read(Path(data_dir), split))<|docstring|>Yields examples as (key, example) tuples.<|endoftext|>
203681d18bbbe9fe758b3ab5439307f4e83688c74bf744f285b6932637bbe530
def cli_entry(): '\n Usage:\n etk <command> [options]\n python -m etk <command> [options]\n Example:\n etk dummy --test "this is a test"\n ' if (len(sys.argv) <= 1): print('No command\n') help_info() cmd = sys.argv[1] sub_cmd = (sys.argv[2:] if (len(sys.argv...
Usage: etk <command> [options] python -m etk <command> [options] Example: etk dummy --test "this is a test"
etk/cli_entry.py
cli_entry
donaq/etk
77
python
def cli_entry(): '\n Usage:\n etk <command> [options]\n python -m etk <command> [options]\n Example:\n etk dummy --test "this is a test"\n ' if (len(sys.argv) <= 1): print('No command\n') help_info() cmd = sys.argv[1] sub_cmd = (sys.argv[2:] if (len(sys.argv...
def cli_entry(): '\n Usage:\n etk <command> [options]\n python -m etk <command> [options]\n Example:\n etk dummy --test "this is a test"\n ' if (len(sys.argv) <= 1): print('No command\n') help_info() cmd = sys.argv[1] sub_cmd = (sys.argv[2:] if (len(sys.argv...
0c2cede8c93d138df1d74d95f898609ba462265b26805b71c6453250f47151d3
def __init__(__self__, *, database: pulumi.Input[str], schema: pulumi.Input[str], aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, encryption: Optional[pulumi.Input[str]]=None, fil...
The set of arguments for constructing a Stage resource. :param pulumi.Input[str] database: The database in which to create the stage. :param pulumi.Input[str] schema: The schema in which to create the stage. :param pulumi.Input[str] comment: Specifies a comment for the stage. :param pulumi.Input[str] copy_options: Spec...
sdk/python/pulumi_snowflake/stage.py
__init__
pulumi/pulumi-snowflake
3
python
def __init__(__self__, *, database: pulumi.Input[str], schema: pulumi.Input[str], aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, encryption: Optional[pulumi.Input[str]]=None, fil...
def __init__(__self__, *, database: pulumi.Input[str], schema: pulumi.Input[str], aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, encryption: Optional[pulumi.Input[str]]=None, fil...
580b693594d541cb44351fbbb914334bc86b0192b5d04f173634e3c229b62d43
@property @pulumi.getter def database(self) -> pulumi.Input[str]: '\n The database in which to create the stage.\n ' return pulumi.get(self, 'database')
The database in which to create the stage.
sdk/python/pulumi_snowflake/stage.py
database
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def database(self) -> pulumi.Input[str]: '\n \n ' return pulumi.get(self, 'database')
@property @pulumi.getter def database(self) -> pulumi.Input[str]: '\n \n ' return pulumi.get(self, 'database')<|docstring|>The database in which to create the stage.<|endoftext|>
dace85e0d08072e55e017ffc3edffb5d7b9f42f48facde064dd95668192d457a
@property @pulumi.getter def schema(self) -> pulumi.Input[str]: '\n The schema in which to create the stage.\n ' return pulumi.get(self, 'schema')
The schema in which to create the stage.
sdk/python/pulumi_snowflake/stage.py
schema
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def schema(self) -> pulumi.Input[str]: '\n \n ' return pulumi.get(self, 'schema')
@property @pulumi.getter def schema(self) -> pulumi.Input[str]: '\n \n ' return pulumi.get(self, 'schema')<|docstring|>The schema in which to create the stage.<|endoftext|>
3807ce654c8dddf984af8569480c24fe993e2a489bd44d440aae866ca230ee13
@property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: '\n Specifies a comment for the stage.\n ' return pulumi.get(self, 'comment')
Specifies a comment for the stage.
sdk/python/pulumi_snowflake/stage.py
comment
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'comment')
@property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'comment')<|docstring|>Specifies a comment for the stage.<|endoftext|>
504fd316dfea98e76a94cd08d06590b7e2d8434628f2f5065a42e05feda88d04
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> Optional[pulumi.Input[str]]: '\n Specifies the copy options for the stage.\n ' return pulumi.get(self, 'copy_options')
Specifies the copy options for the stage.
sdk/python/pulumi_snowflake/stage.py
copy_options
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'copy_options')
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'copy_options')<|docstring|>Specifies the copy options for the stage.<|endoftext|>
0fd85e6116b8c6ddd7a7188c5a89967bac0b8da0bf9fa0bf36fae25967671bdc
@property @pulumi.getter def credentials(self) -> Optional[pulumi.Input[str]]: '\n Specifies the credentials for the stage.\n ' return pulumi.get(self, 'credentials')
Specifies the credentials for the stage.
sdk/python/pulumi_snowflake/stage.py
credentials
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def credentials(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'credentials')
@property @pulumi.getter def credentials(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'credentials')<|docstring|>Specifies the credentials for the stage.<|endoftext|>
e1261108597d9d548e37c6d4b6d1889bda0463bcbe5dfb84a5885dbdf6252aa5
@property @pulumi.getter def encryption(self) -> Optional[pulumi.Input[str]]: '\n Specifies the encryption settings for the stage.\n ' return pulumi.get(self, 'encryption')
Specifies the encryption settings for the stage.
sdk/python/pulumi_snowflake/stage.py
encryption
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def encryption(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'encryption')
@property @pulumi.getter def encryption(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'encryption')<|docstring|>Specifies the encryption settings for the stage.<|endoftext|>
d8074f52e660e83724f2a9c7f38da18037e884ff746b361bca54b713585ab87f
@property @pulumi.getter(name='fileFormat') def file_format(self) -> Optional[pulumi.Input[str]]: '\n Specifies the file format for the stage.\n ' return pulumi.get(self, 'file_format')
Specifies the file format for the stage.
sdk/python/pulumi_snowflake/stage.py
file_format
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='fileFormat') def file_format(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'file_format')
@property @pulumi.getter(name='fileFormat') def file_format(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'file_format')<|docstring|>Specifies the file format for the stage.<|endoftext|>
21eb82b1f8ef5f5a5ddeeb58be6be273209b277d49bc08ec04bf30ba601783ba
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.\n ' return pulumi.get(self, 'name')
Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.
sdk/python/pulumi_snowflake/stage.py
name
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'name')
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'name')<|docstring|>Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.<|endoftext|>
3551bb0e755515180a1d5868bc7fc3263a8c8b0f4991f18c826db13b140c6e71
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> Optional[pulumi.Input[str]]: '\n Specifies the name of the storage integration used to delegate authentication responsibility for external cloud storage to a Snowflake identity and access management (IAM) entity.\n ' ...
Specifies the name of the storage integration used to delegate authentication responsibility for external cloud storage to a Snowflake identity and access management (IAM) entity.
sdk/python/pulumi_snowflake/stage.py
storage_integration
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'storage_integration')
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'storage_integration')<|docstring|>Specifies the name of the storage integration used to delegate authentication responsibility for external cloud stor...
5546adf8fbd175b5c698652958c8a64f9a1e928a0cfd80f62279665665c6889c
@property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StageTagArgs']]]]: '\n Definitions of a tag to associate with the resource.\n ' return pulumi.get(self, 'tags')
Definitions of a tag to associate with the resource.
sdk/python/pulumi_snowflake/stage.py
tags
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StageTagArgs']]]]: '\n \n ' return pulumi.get(self, 'tags')
@property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StageTagArgs']]]]: '\n \n ' return pulumi.get(self, 'tags')<|docstring|>Definitions of a tag to associate with the resource.<|endoftext|>
54dea0bb471e5560c422021ad304e420f97433bbafa8f613e9ff3b7f22e6fdd1
@property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: '\n Specifies the URL for the stage.\n ' return pulumi.get(self, 'url')
Specifies the URL for the stage.
sdk/python/pulumi_snowflake/stage.py
url
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'url')
@property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'url')<|docstring|>Specifies the URL for the stage.<|endoftext|>
5ba889aa36dfa47faa9aa11c93c55132627bd5fca42d60e2b6161a77e436869a
def __init__(__self__, *, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pulumi.Input[str]]=None, encryption: Optional[pulumi.Input[str]]=None, file_format: Op...
Input properties used for looking up and filtering Stage resources. :param pulumi.Input[str] comment: Specifies a comment for the stage. :param pulumi.Input[str] copy_options: Specifies the copy options for the stage. :param pulumi.Input[str] credentials: Specifies the credentials for the stage. :param pulumi.Input[str...
sdk/python/pulumi_snowflake/stage.py
__init__
pulumi/pulumi-snowflake
3
python
def __init__(__self__, *, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pulumi.Input[str]]=None, encryption: Optional[pulumi.Input[str]]=None, file_format: Op...
def __init__(__self__, *, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pulumi.Input[str]]=None, encryption: Optional[pulumi.Input[str]]=None, file_format: Op...
3807ce654c8dddf984af8569480c24fe993e2a489bd44d440aae866ca230ee13
@property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: '\n Specifies a comment for the stage.\n ' return pulumi.get(self, 'comment')
Specifies a comment for the stage.
sdk/python/pulumi_snowflake/stage.py
comment
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'comment')
@property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'comment')<|docstring|>Specifies a comment for the stage.<|endoftext|>
504fd316dfea98e76a94cd08d06590b7e2d8434628f2f5065a42e05feda88d04
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> Optional[pulumi.Input[str]]: '\n Specifies the copy options for the stage.\n ' return pulumi.get(self, 'copy_options')
Specifies the copy options for the stage.
sdk/python/pulumi_snowflake/stage.py
copy_options
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'copy_options')
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'copy_options')<|docstring|>Specifies the copy options for the stage.<|endoftext|>
0fd85e6116b8c6ddd7a7188c5a89967bac0b8da0bf9fa0bf36fae25967671bdc
@property @pulumi.getter def credentials(self) -> Optional[pulumi.Input[str]]: '\n Specifies the credentials for the stage.\n ' return pulumi.get(self, 'credentials')
Specifies the credentials for the stage.
sdk/python/pulumi_snowflake/stage.py
credentials
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def credentials(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'credentials')
@property @pulumi.getter def credentials(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'credentials')<|docstring|>Specifies the credentials for the stage.<|endoftext|>
c00bc005f25436c02efaa2f51487b4660c3ff8f64a4c8942fd48b9457f552c9b
@property @pulumi.getter def database(self) -> Optional[pulumi.Input[str]]: '\n The database in which to create the stage.\n ' return pulumi.get(self, 'database')
The database in which to create the stage.
sdk/python/pulumi_snowflake/stage.py
database
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def database(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'database')
@property @pulumi.getter def database(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'database')<|docstring|>The database in which to create the stage.<|endoftext|>
e1261108597d9d548e37c6d4b6d1889bda0463bcbe5dfb84a5885dbdf6252aa5
@property @pulumi.getter def encryption(self) -> Optional[pulumi.Input[str]]: '\n Specifies the encryption settings for the stage.\n ' return pulumi.get(self, 'encryption')
Specifies the encryption settings for the stage.
sdk/python/pulumi_snowflake/stage.py
encryption
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def encryption(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'encryption')
@property @pulumi.getter def encryption(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'encryption')<|docstring|>Specifies the encryption settings for the stage.<|endoftext|>
d8074f52e660e83724f2a9c7f38da18037e884ff746b361bca54b713585ab87f
@property @pulumi.getter(name='fileFormat') def file_format(self) -> Optional[pulumi.Input[str]]: '\n Specifies the file format for the stage.\n ' return pulumi.get(self, 'file_format')
Specifies the file format for the stage.
sdk/python/pulumi_snowflake/stage.py
file_format
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='fileFormat') def file_format(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'file_format')
@property @pulumi.getter(name='fileFormat') def file_format(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'file_format')<|docstring|>Specifies the file format for the stage.<|endoftext|>
21eb82b1f8ef5f5a5ddeeb58be6be273209b277d49bc08ec04bf30ba601783ba
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.\n ' return pulumi.get(self, 'name')
Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.
sdk/python/pulumi_snowflake/stage.py
name
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'name')
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'name')<|docstring|>Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.<|endoftext|>
08336cb27db64d8208e4470927eeb715515d0d27a5171972e327fd7050a88555
@property @pulumi.getter def schema(self) -> Optional[pulumi.Input[str]]: '\n The schema in which to create the stage.\n ' return pulumi.get(self, 'schema')
The schema in which to create the stage.
sdk/python/pulumi_snowflake/stage.py
schema
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def schema(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'schema')
@property @pulumi.getter def schema(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'schema')<|docstring|>The schema in which to create the stage.<|endoftext|>
3551bb0e755515180a1d5868bc7fc3263a8c8b0f4991f18c826db13b140c6e71
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> Optional[pulumi.Input[str]]: '\n Specifies the name of the storage integration used to delegate authentication responsibility for external cloud storage to a Snowflake identity and access management (IAM) entity.\n ' ...
Specifies the name of the storage integration used to delegate authentication responsibility for external cloud storage to a Snowflake identity and access management (IAM) entity.
sdk/python/pulumi_snowflake/stage.py
storage_integration
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'storage_integration')
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'storage_integration')<|docstring|>Specifies the name of the storage integration used to delegate authentication responsibility for external cloud stor...
5546adf8fbd175b5c698652958c8a64f9a1e928a0cfd80f62279665665c6889c
@property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StageTagArgs']]]]: '\n Definitions of a tag to associate with the resource.\n ' return pulumi.get(self, 'tags')
Definitions of a tag to associate with the resource.
sdk/python/pulumi_snowflake/stage.py
tags
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StageTagArgs']]]]: '\n \n ' return pulumi.get(self, 'tags')
@property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StageTagArgs']]]]: '\n \n ' return pulumi.get(self, 'tags')<|docstring|>Definitions of a tag to associate with the resource.<|endoftext|>
54dea0bb471e5560c422021ad304e420f97433bbafa8f613e9ff3b7f22e6fdd1
@property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: '\n Specifies the URL for the stage.\n ' return pulumi.get(self, 'url')
Specifies the URL for the stage.
sdk/python/pulumi_snowflake/stage.py
url
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'url')
@property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'url')<|docstring|>Specifies the URL for the stage.<|endoftext|>
8262f4eb0b009c429e2a34d1fb98723dd463c0b2c9f50f14541e6a3831e82166
@overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pulumi.Input[s...
## Example Usage ```python import pulumi import pulumi_snowflake as snowflake example_stage = snowflake.Stage("exampleStage", url="s3://com.example.bucket/prefix", database="EXAMPLE_DB", schema="EXAMPLE_SCHEMA", credentials=f"AWS_KEY_ID='{var['example_aws_key_id']}' AWS_SECRET_KEY='{var['example_aws_s...
sdk/python/pulumi_snowflake/stage.py
__init__
pulumi/pulumi-snowflake
3
python
@overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pulumi.Input[s...
@overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pulumi.Input[s...
0f190fc1024e16daddbf7f55ca29c806a8c9257077bf84237d02ebf5fe0f5fba
@overload def __init__(__self__, resource_name: str, args: StageArgs, opts: Optional[pulumi.ResourceOptions]=None): '\n ## Example Usage\n\n ```python\n import pulumi\n import pulumi_snowflake as snowflake\n\n example_stage = snowflake.Stage("exampleStage",\n url="s3://...
## Example Usage ```python import pulumi import pulumi_snowflake as snowflake example_stage = snowflake.Stage("exampleStage", url="s3://com.example.bucket/prefix", database="EXAMPLE_DB", schema="EXAMPLE_SCHEMA", credentials=f"AWS_KEY_ID='{var['example_aws_key_id']}' AWS_SECRET_KEY='{var['example_aws_s...
sdk/python/pulumi_snowflake/stage.py
__init__
pulumi/pulumi-snowflake
3
python
@overload def __init__(__self__, resource_name: str, args: StageArgs, opts: Optional[pulumi.ResourceOptions]=None): '\n ## Example Usage\n\n ```python\n import pulumi\n import pulumi_snowflake as snowflake\n\n example_stage = snowflake.Stage("exampleStage",\n url="s3://...
@overload def __init__(__self__, resource_name: str, args: StageArgs, opts: Optional[pulumi.ResourceOptions]=None): '\n ## Example Usage\n\n ```python\n import pulumi\n import pulumi_snowflake as snowflake\n\n example_stage = snowflake.Stage("exampleStage",\n url="s3://...
b72a615303affcbffbb25de02cdf1ac53bdd94b388ec4d14c5beeb8e1836e2ee
@staticmethod def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions]=None, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pu...
Get an existing Stage resource's state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for t...
sdk/python/pulumi_snowflake/stage.py
get
pulumi/pulumi-snowflake
3
python
@staticmethod def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions]=None, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pu...
@staticmethod def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions]=None, aws_external_id: Optional[pulumi.Input[str]]=None, comment: Optional[pulumi.Input[str]]=None, copy_options: Optional[pulumi.Input[str]]=None, credentials: Optional[pulumi.Input[str]]=None, database: Optional[pu...
5114bc12d483321aebca4dc679f2be8c9f8159c20d4d8aeb87433350e9b5d609
@property @pulumi.getter def comment(self) -> pulumi.Output[Optional[str]]: '\n Specifies a comment for the stage.\n ' return pulumi.get(self, 'comment')
Specifies a comment for the stage.
sdk/python/pulumi_snowflake/stage.py
comment
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def comment(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'comment')
@property @pulumi.getter def comment(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'comment')<|docstring|>Specifies a comment for the stage.<|endoftext|>
db2df641aa57d898515d091ad2936e8587f4e0cd3101a4d62b91cd573b0196af
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> pulumi.Output[Optional[str]]: '\n Specifies the copy options for the stage.\n ' return pulumi.get(self, 'copy_options')
Specifies the copy options for the stage.
sdk/python/pulumi_snowflake/stage.py
copy_options
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'copy_options')
@property @pulumi.getter(name='copyOptions') def copy_options(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'copy_options')<|docstring|>Specifies the copy options for the stage.<|endoftext|>
529df71848f9866a9e3ea4e15765d155415ea123ddbb5f18a3c6f6cf09882ca6
@property @pulumi.getter def credentials(self) -> pulumi.Output[Optional[str]]: '\n Specifies the credentials for the stage.\n ' return pulumi.get(self, 'credentials')
Specifies the credentials for the stage.
sdk/python/pulumi_snowflake/stage.py
credentials
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def credentials(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'credentials')
@property @pulumi.getter def credentials(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'credentials')<|docstring|>Specifies the credentials for the stage.<|endoftext|>
28e405a41b4f10bed754b1d9ccd9d7ca41732fc1bcba63e68c05c72e0615fc22
@property @pulumi.getter def database(self) -> pulumi.Output[str]: '\n The database in which to create the stage.\n ' return pulumi.get(self, 'database')
The database in which to create the stage.
sdk/python/pulumi_snowflake/stage.py
database
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def database(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'database')
@property @pulumi.getter def database(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'database')<|docstring|>The database in which to create the stage.<|endoftext|>
6bc38d5a3e0de18dabfda28a92e09a164eb363ca4d4934de24858f8be3c579bd
@property @pulumi.getter def encryption(self) -> pulumi.Output[Optional[str]]: '\n Specifies the encryption settings for the stage.\n ' return pulumi.get(self, 'encryption')
Specifies the encryption settings for the stage.
sdk/python/pulumi_snowflake/stage.py
encryption
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def encryption(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'encryption')
@property @pulumi.getter def encryption(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'encryption')<|docstring|>Specifies the encryption settings for the stage.<|endoftext|>
9f16732bde92b8949412146c163a4d38bb10cd1f3aedf0eee5545dd1dbb2c09e
@property @pulumi.getter(name='fileFormat') def file_format(self) -> pulumi.Output[Optional[str]]: '\n Specifies the file format for the stage.\n ' return pulumi.get(self, 'file_format')
Specifies the file format for the stage.
sdk/python/pulumi_snowflake/stage.py
file_format
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='fileFormat') def file_format(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'file_format')
@property @pulumi.getter(name='fileFormat') def file_format(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'file_format')<|docstring|>Specifies the file format for the stage.<|endoftext|>
d0198ef3fd8186d1a1a4f8012ad10888c21bf18ca29a218ccda76045e2b5c405
@property @pulumi.getter def name(self) -> pulumi.Output[str]: '\n Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.\n ' return pulumi.get(self, 'name')
Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.
sdk/python/pulumi_snowflake/stage.py
name
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def name(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'name')
@property @pulumi.getter def name(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'name')<|docstring|>Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.<|endoftext|>
61d4696ea9891d027a3b5974524e66a106218ffb5a49211818793ea5fddef687
@property @pulumi.getter def schema(self) -> pulumi.Output[str]: '\n The schema in which to create the stage.\n ' return pulumi.get(self, 'schema')
The schema in which to create the stage.
sdk/python/pulumi_snowflake/stage.py
schema
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def schema(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'schema')
@property @pulumi.getter def schema(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'schema')<|docstring|>The schema in which to create the stage.<|endoftext|>
e338d6be889d4145fe85f0053846e8eece0f8b01218faf8a0157d312a6abaa1c
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> pulumi.Output[Optional[str]]: '\n Specifies the name of the storage integration used to delegate authentication responsibility for external cloud storage to a Snowflake identity and access management (IAM) entity.\n '...
Specifies the name of the storage integration used to delegate authentication responsibility for external cloud storage to a Snowflake identity and access management (IAM) entity.
sdk/python/pulumi_snowflake/stage.py
storage_integration
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'storage_integration')
@property @pulumi.getter(name='storageIntegration') def storage_integration(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'storage_integration')<|docstring|>Specifies the name of the storage integration used to delegate authentication responsibility for external cloud sto...
92b03007c4b38452da20720ae08a76771cddc65bfd854852bd2300666b1b0c02
@property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence['outputs.StageTag']]]: '\n Definitions of a tag to associate with the resource.\n ' return pulumi.get(self, 'tags')
Definitions of a tag to associate with the resource.
sdk/python/pulumi_snowflake/stage.py
tags
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence['outputs.StageTag']]]: '\n \n ' return pulumi.get(self, 'tags')
@property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence['outputs.StageTag']]]: '\n \n ' return pulumi.get(self, 'tags')<|docstring|>Definitions of a tag to associate with the resource.<|endoftext|>
9bb52ca23812223f92b616ed1c96181c852dbd3f4979786204435d94b796d323
@property @pulumi.getter def url(self) -> pulumi.Output[Optional[str]]: '\n Specifies the URL for the stage.\n ' return pulumi.get(self, 'url')
Specifies the URL for the stage.
sdk/python/pulumi_snowflake/stage.py
url
pulumi/pulumi-snowflake
3
python
@property @pulumi.getter def url(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'url')
@property @pulumi.getter def url(self) -> pulumi.Output[Optional[str]]: '\n \n ' return pulumi.get(self, 'url')<|docstring|>Specifies the URL for the stage.<|endoftext|>
448f41c33c138d44340ee1d66a0e15113b2f26c1156f9ee763960490a712fd8a
@app.route('/guess/<name>') def get_name_data(name): '\n Takes user name and provides age and gender.\n :param name: Username\n :return: Gender (male / female), Age\n ' def get_gender(user_name): ' Get user gender using API ' url = f'https://api.genderize.io?name={user_name}' ...
Takes user name and provides age and gender. :param name: Username :return: Gender (male / female), Age
intermediate+_Day_45_to_57/Day_57-templeting_with_jinja/main.py
get_name_data
jawad5311/100-days-Python
0
python
@app.route('/guess/<name>') def get_name_data(name): '\n Takes user name and provides age and gender.\n :param name: Username\n :return: Gender (male / female), Age\n ' def get_gender(user_name): ' Get user gender using API ' url = f'https://api.genderize.io?name={user_name}' ...
@app.route('/guess/<name>') def get_name_data(name): '\n Takes user name and provides age and gender.\n :param name: Username\n :return: Gender (male / female), Age\n ' def get_gender(user_name): ' Get user gender using API ' url = f'https://api.genderize.io?name={user_name}' ...
72a529e660ca9ba103fb815fd93c54df292ba14b55711e54611f9ab813d9503b
def get_gender(user_name): ' Get user gender using API ' url = f'https://api.genderize.io?name={user_name}' response = requests.get(url) gender = response.json()['gender'] return gender
Get user gender using API
intermediate+_Day_45_to_57/Day_57-templeting_with_jinja/main.py
get_gender
jawad5311/100-days-Python
0
python
def get_gender(user_name): ' ' url = f'https://api.genderize.io?name={user_name}' response = requests.get(url) gender = response.json()['gender'] return gender
def get_gender(user_name): ' ' url = f'https://api.genderize.io?name={user_name}' response = requests.get(url) gender = response.json()['gender'] return gender<|docstring|>Get user gender using API<|endoftext|>
21c48b3bf133d8848827b8b7b28c2c6f079a314c1af2c7d0079f81298c039f4e
def get_age(user_name): ' Get user age using agify API ' url = f'https://api.agify.io?name={user_name}' response = requests.get(url) age = str(response.json()['age']) return age
Get user age using agify API
intermediate+_Day_45_to_57/Day_57-templeting_with_jinja/main.py
get_age
jawad5311/100-days-Python
0
python
def get_age(user_name): ' ' url = f'https://api.agify.io?name={user_name}' response = requests.get(url) age = str(response.json()['age']) return age
def get_age(user_name): ' ' url = f'https://api.agify.io?name={user_name}' response = requests.get(url) age = str(response.json()['age']) return age<|docstring|>Get user age using agify API<|endoftext|>
fb6de2c9c1de0a6ce328411cb816ca50d479f5719de0c2f67345130a4b91b513
def filter(self, y, m, C): 'Filtering step' a = self._prior_state(m) R = self._prior_covariance(C) e = self._innovation(a, y) Q = self._residual_covariance(R) K = self._gain(R, Q) new_m = (a + (K.A1 * e)) new_C = (R - ((K * Q) * K.T)) return (new_m, new_C)
Filtering step
pssm/filters.py
filter
ruivieira/python-ssm
4
python
def filter(self, y, m, C): a = self._prior_state(m) R = self._prior_covariance(C) e = self._innovation(a, y) Q = self._residual_covariance(R) K = self._gain(R, Q) new_m = (a + (K.A1 * e)) new_C = (R - ((K * Q) * K.T)) return (new_m, new_C)
def filter(self, y, m, C): a = self._prior_state(m) R = self._prior_covariance(C) e = self._innovation(a, y) Q = self._residual_covariance(R) K = self._gain(R, Q) new_m = (a + (K.A1 * e)) new_C = (R - ((K * Q) * K.T)) return (new_m, new_C)<|docstring|>Filtering step<|endoftext|>
7599eae4114d69a14385b34c8590b69f3e130121e427a1927262e5b8b78030b1
def int32_feature(value): 'Wrapper for inserting int32 features into Example proto.' if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(int32_list=ofrecord.Int32List(value=value))
Wrapper for inserting int32 features into Example proto.
oneflow/python/test/ops/test_ofrecord_decoder.py
int32_feature
Sodu-Qinming/Oneflow
1
python
def int32_feature(value): if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(int32_list=ofrecord.Int32List(value=value))
def int32_feature(value): if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(int32_list=ofrecord.Int32List(value=value))<|docstring|>Wrapper for inserting int32 features into Example proto.<|endoftext|>
947faea601a8049ff945061bd0ec9f48f318f9d1fa52b0e13f628172cc611b12
def float_feature(value): 'Wrapper for inserting float features into Example proto.' if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(float_list=ofrecord.FloatList(value=value))
Wrapper for inserting float features into Example proto.
oneflow/python/test/ops/test_ofrecord_decoder.py
float_feature
Sodu-Qinming/Oneflow
1
python
def float_feature(value): if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(float_list=ofrecord.FloatList(value=value))
def float_feature(value): if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(float_list=ofrecord.FloatList(value=value))<|docstring|>Wrapper for inserting float features into Example proto.<|endoftext|>
3a0e3a2b92ce59ae2336e71810c5175d5d1968f303d61daa6402e7096506ca17
def double_feature(value): 'Wrapper for inserting double features into Example proto.' if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(double_list=ofrecord.DoubleList(value=value))
Wrapper for inserting double features into Example proto.
oneflow/python/test/ops/test_ofrecord_decoder.py
double_feature
Sodu-Qinming/Oneflow
1
python
def double_feature(value): if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(double_list=ofrecord.DoubleList(value=value))
def double_feature(value): if (not isinstance(value, (list, tuple))): value = [value] return ofrecord.Feature(double_list=ofrecord.DoubleList(value=value))<|docstring|>Wrapper for inserting double features into Example proto.<|endoftext|>
6f858c41ac6d60eb046fb1a07808f0e417a4a891fd5ca4d4f2266567159e0229
def match(x, y, dist): '\n Computes distance between corresponding points points in `x` and `y`\n using distance `dist`.\n ' if (dist == 'L2'): return (x - y).pow(2).mean() elif (dist == 'L1'): return (x - y).abs().mean() elif (dist == 'cos'): x_n = normalize(x) ...
Computes distance between corresponding points points in `x` and `y` using distance `dist`.
modules/trainer/criterion/mmd.py
match
nobodykid/sinkhorngan-positive
0
python
def match(x, y, dist): '\n Computes distance between corresponding points points in `x` and `y`\n using distance `dist`.\n ' if (dist == 'L2'): return (x - y).pow(2).mean() elif (dist == 'L1'): return (x - y).abs().mean() elif (dist == 'cos'): x_n = normalize(x) ...
def match(x, y, dist): '\n Computes distance between corresponding points points in `x` and `y`\n using distance `dist`.\n ' if (dist == 'L2'): return (x - y).pow(2).mean() elif (dist == 'L1'): return (x - y).abs().mean() elif (dist == 'cos'): x_n = normalize(x) ...
d3461900235b4f711617755f2190c91df3e9c54ed0eb3fc23cc1ad4fff479301
@staticmethod def auth_fail_callback(request, *args, **options): ' if auth fail, then return a lick, click it skip to login page ' return redirect('/login')
if auth fail, then return a lick, click it skip to login page
shiyanlou_cs885/demo/login_index_logout/core/base_view.py
auth_fail_callback
tongxindao/shiyanlou
0
python
@staticmethod def auth_fail_callback(request, *args, **options): ' ' return redirect('/login')
@staticmethod def auth_fail_callback(request, *args, **options): ' ' return redirect('/login')<|docstring|>if auth fail, then return a lick, click it skip to login page<|endoftext|>
a78a191622aab9038e78f1c5dc64aa011c34c171fedb6afcdb52aca197808227
@staticmethod def auth_logic(request, *args, **options): ' verification logic, if user key not in Session, then auth fail, if not be success ' if ('user' in session.map(request)): return True return False
verification logic, if user key not in Session, then auth fail, if not be success
shiyanlou_cs885/demo/login_index_logout/core/base_view.py
auth_logic
tongxindao/shiyanlou
0
python
@staticmethod def auth_logic(request, *args, **options): ' ' if ('user' in session.map(request)): return True return False
@staticmethod def auth_logic(request, *args, **options): ' ' if ('user' in session.map(request)): return True return False<|docstring|>verification logic, if user key not in Session, then auth fail, if not be success<|endoftext|>
cdd236a84ed727e284a37d269e790328835f1ca256eea1d003413ee0eddcd623
@AuthLogin.auth_session def dispatch_request(self, request, *args, **options): ' verification class decorator ' return super(SessionView, self).dispatch_request(request, *args, **options)
verification class decorator
shiyanlou_cs885/demo/login_index_logout/core/base_view.py
dispatch_request
tongxindao/shiyanlou
0
python
@AuthLogin.auth_session def dispatch_request(self, request, *args, **options): ' ' return super(SessionView, self).dispatch_request(request, *args, **options)
@AuthLogin.auth_session def dispatch_request(self, request, *args, **options): ' ' return super(SessionView, self).dispatch_request(request, *args, **options)<|docstring|>verification class decorator<|endoftext|>
8c8a7fe8668448450e50058a67da7c552cd44e6a33722739aae807f6044f3a59
def setUp(self): 'Setup wooo hooo ' self.client = Client() self.admin_user = get_user_model().objects.create_superuser('example@example.com', 'selfandtiiime') self.client.force_login(self.admin_user) self.user = get_user_model().objects.create_user('example@example.com', 'selfandtiiime', name='Test ...
Setup wooo hooo
app/core/tests/test_admin.py
setUp
CanaanGM/django-foodApi
0
python
def setUp(self): ' ' self.client = Client() self.admin_user = get_user_model().objects.create_superuser('example@example.com', 'selfandtiiime') self.client.force_login(self.admin_user) self.user = get_user_model().objects.create_user('example@example.com', 'selfandtiiime', name='Test user name')
def setUp(self): ' ' self.client = Client() self.admin_user = get_user_model().objects.create_superuser('example@example.com', 'selfandtiiime') self.client.force_login(self.admin_user) self.user = get_user_model().objects.create_user('example@example.com', 'selfandtiiime', name='Test user name')<|do...
7541ce4092586dd94741892bd716432b5a204ae4740eaf6c91c87eb0c4a0fd4f
def test_user_listed(self): 'Users are listed on user page' url = reverse('admin:core_user_changelist') res = self.client.get(url) self.assertContains(res, self.user.name) self.assertContains(res, self.user.email)
Users are listed on user page
app/core/tests/test_admin.py
test_user_listed
CanaanGM/django-foodApi
0
python
def test_user_listed(self): url = reverse('admin:core_user_changelist') res = self.client.get(url) self.assertContains(res, self.user.name) self.assertContains(res, self.user.email)
def test_user_listed(self): url = reverse('admin:core_user_changelist') res = self.client.get(url) self.assertContains(res, self.user.name) self.assertContains(res, self.user.email)<|docstring|>Users are listed on user page<|endoftext|>
daa1ac4107c4af86c4534ad3d936bc8448a0511f5059d21a1321ece4109049d0
def test_user_change_page(self): 'Test user edit page works' url = reverse('admin:core_user_change', args=[self.user.id]) res = self.client.get(url) self.assertEqual(res.status_code, 200)
Test user edit page works
app/core/tests/test_admin.py
test_user_change_page
CanaanGM/django-foodApi
0
python
def test_user_change_page(self): url = reverse('admin:core_user_change', args=[self.user.id]) res = self.client.get(url) self.assertEqual(res.status_code, 200)
def test_user_change_page(self): url = reverse('admin:core_user_change', args=[self.user.id]) res = self.client.get(url) self.assertEqual(res.status_code, 200)<|docstring|>Test user edit page works<|endoftext|>
f2e8a284c1848a5dd59c520f7c8335efcb571478bf0b8aeeaf52c08096516469
def test_create_user_page(self): 'Test create user page works' url = reverse('admin:core_user_add') res = self.client.get(url) self.assertEqual(res.status_code, 200)
Test create user page works
app/core/tests/test_admin.py
test_create_user_page
CanaanGM/django-foodApi
0
python
def test_create_user_page(self): url = reverse('admin:core_user_add') res = self.client.get(url) self.assertEqual(res.status_code, 200)
def test_create_user_page(self): url = reverse('admin:core_user_add') res = self.client.get(url) self.assertEqual(res.status_code, 200)<|docstring|>Test create user page works<|endoftext|>
33a996d0c68f5b16bf13638cf9ae2ce041a9da0497fe629b71be1c25833de354
@sentry_span @cached(exptime=(60 * 60), serialize=pickle.dumps, deserialize=pickle.loads, key=(lambda logins, **_: (','.join(sorted(logins)),))) async def mine_users(logins: Collection[str], meta_ids: Tuple[(int, ...)], mdb: morcilla.Database, cache: Optional[aiomcache.Client]) -> List[Mapping[(str, Any)]]: '\n ...
Fetch details about each GitHub user in the given list of `logins`. There can be duplicates when there are users of different types.
server/athenian/api/controllers/miners/github/user.py
mine_users
athenianco/athenian-api
9
python
@sentry_span @cached(exptime=(60 * 60), serialize=pickle.dumps, deserialize=pickle.loads, key=(lambda logins, **_: (','.join(sorted(logins)),))) async def mine_users(logins: Collection[str], meta_ids: Tuple[(int, ...)], mdb: morcilla.Database, cache: Optional[aiomcache.Client]) -> List[Mapping[(str, Any)]]: '\n ...
@sentry_span @cached(exptime=(60 * 60), serialize=pickle.dumps, deserialize=pickle.loads, key=(lambda logins, **_: (','.join(sorted(logins)),))) async def mine_users(logins: Collection[str], meta_ids: Tuple[(int, ...)], mdb: morcilla.Database, cache: Optional[aiomcache.Client]) -> List[Mapping[(str, Any)]]: '\n ...
4eb2b9da4403164ca39f1412f6c54c4ab1a19dc991d15047782fb2d956df1075
@sentry_span async def mine_user_avatars(logins: Iterable[str], keys: UserAvatarKeys, meta_ids: Tuple[(int, ...)], mdb: morcilla.Database, cache: Optional[aiomcache.Client]) -> List[Tuple[(Union[(str, int)], str)]]: 'Fetch the user profile picture URL for each login.' tuples = (await _mine_user_avatars(logins, ...
Fetch the user profile picture URL for each login.
server/athenian/api/controllers/miners/github/user.py
mine_user_avatars
athenianco/athenian-api
9
python
@sentry_span async def mine_user_avatars(logins: Iterable[str], keys: UserAvatarKeys, meta_ids: Tuple[(int, ...)], mdb: morcilla.Database, cache: Optional[aiomcache.Client]) -> List[Tuple[(Union[(str, int)], str)]]: tuples = (await _mine_user_avatars(logins, meta_ids, mdb, cache)) return [((node if (keys =...
@sentry_span async def mine_user_avatars(logins: Iterable[str], keys: UserAvatarKeys, meta_ids: Tuple[(int, ...)], mdb: morcilla.Database, cache: Optional[aiomcache.Client]) -> List[Tuple[(Union[(str, int)], str)]]: tuples = (await _mine_user_avatars(logins, meta_ids, mdb, cache)) return [((node if (keys =...
7c2bd1d664418daf6a404233682d5b97e875bda7c59934be06c68460f5c106b2
@staticmethod def clear_db(): ' Clear the Stage DB ' ctx.logger.info('Clearing Stage DB') Npm.run('db-migrate-clear')
Clear the Stage DB
workflows/cloudify_system_workflows/snapshots/npm.py
clear_db
yeshess/cloudify-manager
0
python
@staticmethod def clear_db(): ' ' ctx.logger.info('Clearing Stage DB') Npm.run('db-migrate-clear')
@staticmethod def clear_db(): ' ' ctx.logger.info('Clearing Stage DB') Npm.run('db-migrate-clear')<|docstring|>Clear the Stage DB<|endoftext|>
8d9b1ae316a85e26540a1298ce9da9d470d2e6d9906653a6f1c7da16110493fe
@staticmethod def downgrade_stage_db(migration_version): ' Downgrade db schema, based on metadata from the snapshot ' ctx.logger.info('Downgrading Stage DB to revision: {0}'.format(migration_version)) Npm.run('db-migrate-down-to', migration_version)
Downgrade db schema, based on metadata from the snapshot
workflows/cloudify_system_workflows/snapshots/npm.py
downgrade_stage_db
yeshess/cloudify-manager
0
python
@staticmethod def downgrade_stage_db(migration_version): ' ' ctx.logger.info('Downgrading Stage DB to revision: {0}'.format(migration_version)) Npm.run('db-migrate-down-to', migration_version)
@staticmethod def downgrade_stage_db(migration_version): ' ' ctx.logger.info('Downgrading Stage DB to revision: {0}'.format(migration_version)) Npm.run('db-migrate-down-to', migration_version)<|docstring|>Downgrade db schema, based on metadata from the snapshot<|endoftext|>
5dbc15604faf357700b139f4836c62a03cd1a4a595cedb99171b98b1ec1e853b
@staticmethod def upgrade_stage_db(): ' Runs the migration up to latest revision ' ctx.logger.info('Upgrading Stage DB') Npm.run('db-migrate')
Runs the migration up to latest revision
workflows/cloudify_system_workflows/snapshots/npm.py
upgrade_stage_db
yeshess/cloudify-manager
0
python
@staticmethod def upgrade_stage_db(): ' ' ctx.logger.info('Upgrading Stage DB') Npm.run('db-migrate')
@staticmethod def upgrade_stage_db(): ' ' ctx.logger.info('Upgrading Stage DB') Npm.run('db-migrate')<|docstring|>Runs the migration up to latest revision<|endoftext|>
16862433daa7be7fe64f978d9651506d5a256f8c1535a267a82ea6029176b85f
def __init__(self, tensor, tracker, **kwargs): 'Initialize with tracker to reference relevant stats.' super().__init__(tensor, tensor.detach().clone().abs(), **kwargs) self.principle_components = tracker.principle_components self.sensitivity = tracker.sensitivity self.data_mean = tracker.data_mean ...
Initialize with tracker to reference relevant stats.
src/torchprune/torchprune/method/pca/pca_pruner.py
__init__
dani3l125/torchprune
74
python
def __init__(self, tensor, tracker, **kwargs): super().__init__(tensor, tensor.detach().clone().abs(), **kwargs) self.principle_components = tracker.principle_components self.sensitivity = tracker.sensitivity self.data_mean = tracker.data_mean self.bias = tracker.module.bias
def __init__(self, tensor, tracker, **kwargs): super().__init__(tensor, tensor.detach().clone().abs(), **kwargs) self.principle_components = tracker.principle_components self.sensitivity = tracker.sensitivity self.data_mean = tracker.data_mean self.bias = tracker.module.bias<|docstring|>Initial...
7a1f41b6017131a6c0cc2b57b0d17d243d9ca04e65e556c25124faa0b3c8dc1c
def extract_games(self) -> Dict[(int, Dict[(str, Any)])]: 'Return a dictionary with all available games.\n\n Returns\n -------\n dict\n A mapping between game IDs and the information available about\n each game in the data stream.\n ' optadocument = self._get_do...
Return a dictionary with all available games. Returns ------- dict A mapping between game IDs and the information available about each game in the data stream.
socceraction/data/opta/parsers/f24_xml.py
extract_games
C-Roensholt/socceraction
0
python
def extract_games(self) -> Dict[(int, Dict[(str, Any)])]: 'Return a dictionary with all available games.\n\n Returns\n -------\n dict\n A mapping between game IDs and the information available about\n each game in the data stream.\n ' optadocument = self._get_do...
def extract_games(self) -> Dict[(int, Dict[(str, Any)])]: 'Return a dictionary with all available games.\n\n Returns\n -------\n dict\n A mapping between game IDs and the information available about\n each game in the data stream.\n ' optadocument = self._get_do...
3edb52a2ee2dd6972b627c1447e25b243ef3cccf9ae1cf98e30246675b3bceb5
def extract_events(self) -> Dict[(Tuple[(int, int)], Dict[(str, Any)])]: 'Return a dictionary with all available events.\n\n Returns\n -------\n dict\n A mapping between (game ID, event ID) tuples and the information\n available about each event in the data stream.\n ...
Return a dictionary with all available events. Returns ------- dict A mapping between (game ID, event ID) tuples and the information available about each event in the data stream.
socceraction/data/opta/parsers/f24_xml.py
extract_events
C-Roensholt/socceraction
0
python
def extract_events(self) -> Dict[(Tuple[(int, int)], Dict[(str, Any)])]: 'Return a dictionary with all available events.\n\n Returns\n -------\n dict\n A mapping between (game ID, event ID) tuples and the information\n available about each event in the data stream.\n ...
def extract_events(self) -> Dict[(Tuple[(int, int)], Dict[(str, Any)])]: 'Return a dictionary with all available events.\n\n Returns\n -------\n dict\n A mapping between (game ID, event ID) tuples and the information\n available about each event in the data stream.\n ...
23b6bf947f6637c916283929f971f474f89d3d3b60c7215ff8ad4f6b2caef830
def get_agents(url, agents_tag, headers): 'Get the agents.' req = requests.get((url + '/agents/'), headers=headers) if (req.status_code != 200): raise ValueError('Unable to get the token') return [a for a in req.json()['results'] if (agents_tag in a['parameters']['tags'])]
Get the agents.
zeph/drivers.py
get_agents
dioptra-io/zeph
0
python
def get_agents(url, agents_tag, headers): req = requests.get((url + '/agents/'), headers=headers) if (req.status_code != 200): raise ValueError('Unable to get the token') return [a for a in req.json()['results'] if (agents_tag in a['parameters']['tags'])]
def get_agents(url, agents_tag, headers): req = requests.get((url + '/agents/'), headers=headers) if (req.status_code != 200): raise ValueError('Unable to get the token') return [a for a in req.json()['results'] if (agents_tag in a['parameters']['tags'])]<|docstring|>Get the agents.<|endoftext|...
0abf00249bc503a2accd48d5e82b5e4263668076561e7850a40c6a0f4cc00ab1
def upload_prefixes_list(url, filename, prefixes_list, headers): 'Upload a targets list given the target list path.' fd = io.StringIO() for prefix in prefixes_list: fd.write((','.join(prefix) + '\n')) fd.seek(0) req = requests.post((url + '/targets/'), files={'target_file': (filename, fd)}, ...
Upload a targets list given the target list path.
zeph/drivers.py
upload_prefixes_list
dioptra-io/zeph
0
python
def upload_prefixes_list(url, filename, prefixes_list, headers): fd = io.StringIO() for prefix in prefixes_list: fd.write((','.join(prefix) + '\n')) fd.seek(0) req = requests.post((url + '/targets/'), files={'target_file': (filename, fd)}, headers=headers) fd.close() if (req.status_...
def upload_prefixes_list(url, filename, prefixes_list, headers): fd = io.StringIO() for prefix in prefixes_list: fd.write((','.join(prefix) + '\n')) fd.seek(0) req = requests.post((url + '/targets/'), files={'target_file': (filename, fd)}, headers=headers) fd.close() if (req.status_...
75833afc47f9a08e3a2627f312e869552309c7d194b2cb85497316501badc7e8
def iris_driver(url, username, password, agents_tag, tool, protocol, min_ttl, max_ttl, selector, compute_budget, logger, measurement_tags=['test'], exploitation_only=False, cleanup_targets=True, dry_run=False): '\n Iris driver.\n\n Perform the full procedure for creating a measurement to the Iris platform.\n\...
Iris driver. Perform the full procedure for creating a measurement to the Iris platform. * Get the agents * Create the target list of each agent based on the selector * Upload the target list via the API * Launch the measurement
zeph/drivers.py
iris_driver
dioptra-io/zeph
0
python
def iris_driver(url, username, password, agents_tag, tool, protocol, min_ttl, max_ttl, selector, compute_budget, logger, measurement_tags=['test'], exploitation_only=False, cleanup_targets=True, dry_run=False): '\n Iris driver.\n\n Perform the full procedure for creating a measurement to the Iris platform.\n\...
def iris_driver(url, username, password, agents_tag, tool, protocol, min_ttl, max_ttl, selector, compute_budget, logger, measurement_tags=['test'], exploitation_only=False, cleanup_targets=True, dry_run=False): '\n Iris driver.\n\n Perform the full procedure for creating a measurement to the Iris platform.\n\...
83a419d4b4ad56120c848781db1826b1340a8539ef1ac5d06229c6b8a13a7afa
def get_restraints_from_model_via_grm(ligand_model, ligand_grm=None, ideal=True, cartesian_coordinates=True): 'Write the restraints from the geometry using the CIF object from the beginning\n\n Args:\n ligand_model (TYPE): Model object of one entity with no alt. loc.\n ideal (bool, optional): Use the ide...
Write the restraints from the geometry using the CIF object from the beginning Args: ligand_model (TYPE): Model object of one entity with no alt. loc. ideal (bool, optional): Use the ideal distance from the proxy rather than the acutal cartesian_coordinates (bool, optional): Update the atom loop with the h...
mmtbx/model/restraints.py
get_restraints_from_model_via_grm
Anthchirp/cctbx
0
python
def get_restraints_from_model_via_grm(ligand_model, ligand_grm=None, ideal=True, cartesian_coordinates=True): 'Write the restraints from the geometry using the CIF object from the beginning\n\n Args:\n ligand_model (TYPE): Model object of one entity with no alt. loc.\n ideal (bool, optional): Use the ide...
def get_restraints_from_model_via_grm(ligand_model, ligand_grm=None, ideal=True, cartesian_coordinates=True): 'Write the restraints from the geometry using the CIF object from the beginning\n\n Args:\n ligand_model (TYPE): Model object of one entity with no alt. loc.\n ideal (bool, optional): Use the ide...
facfa0e2837432aa97442757e90c6f0628c962cf12e19aa36abd877060689fb8
def configure(time_step: Optional[float]=None, *, connect: Optional[Any]=None, realtime: bool=False, gravity: float=GRAVITY) -> None: 'Configure PyBullet environment.' conn_type = (connect or p.GUI) ts_len = (time_step or DEFAULT_TIME_STEP) _ = p.connect(conn_type) p.setAdditionalSearchPath(pybullet...
Configure PyBullet environment.
simulation/run.py
configure
douglasdaly/squad-robot
0
python
def configure(time_step: Optional[float]=None, *, connect: Optional[Any]=None, realtime: bool=False, gravity: float=GRAVITY) -> None: conn_type = (connect or p.GUI) ts_len = (time_step or DEFAULT_TIME_STEP) _ = p.connect(conn_type) p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.setGra...
def configure(time_step: Optional[float]=None, *, connect: Optional[Any]=None, realtime: bool=False, gravity: float=GRAVITY) -> None: conn_type = (connect or p.GUI) ts_len = (time_step or DEFAULT_TIME_STEP) _ = p.connect(conn_type) p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.setGra...
81c3f22b4a00c853b0c365c5884677bb37895a3d2e6517a1c23d90ad61d7282c
def setup(urdf_file: str, start_pos: Optional[List[float]]=None, *, foot_friction: Optional[float]=None, fixed: bool=True) -> Tuple[(int, Dict[(str, int)])]: 'Sets up the URDF body in the PyBullet simulation.' foot_friction = (foot_friction if (foot_friction is not None) else DEFAULT_FOOT_FRICTION) if (not ...
Sets up the URDF body in the PyBullet simulation.
simulation/run.py
setup
douglasdaly/squad-robot
0
python
def setup(urdf_file: str, start_pos: Optional[List[float]]=None, *, foot_friction: Optional[float]=None, fixed: bool=True) -> Tuple[(int, Dict[(str, int)])]: foot_friction = (foot_friction if (foot_friction is not None) else DEFAULT_FOOT_FRICTION) if (not start_pos): if fixed: start_pos...
def setup(urdf_file: str, start_pos: Optional[List[float]]=None, *, foot_friction: Optional[float]=None, fixed: bool=True) -> Tuple[(int, Dict[(str, int)])]: foot_friction = (foot_friction if (foot_friction is not None) else DEFAULT_FOOT_FRICTION) if (not start_pos): if fixed: start_pos...
675fb094bbfe17c9105ce2264b11dc87092fb6ec6a69db4f8ca7980c39a01de1
def move_joint(obj_id: int, joint_id: int, angle: float) -> None: 'Moves a single specified joint to the target angle.' p.setJointMotorControl2(obj_id, joint_id, p.POSITION_CONTROL, targetPosition=angle, force=2.0)
Moves a single specified joint to the target angle.
simulation/run.py
move_joint
douglasdaly/squad-robot
0
python
def move_joint(obj_id: int, joint_id: int, angle: float) -> None: p.setJointMotorControl2(obj_id, joint_id, p.POSITION_CONTROL, targetPosition=angle, force=2.0)
def move_joint(obj_id: int, joint_id: int, angle: float) -> None: p.setJointMotorControl2(obj_id, joint_id, p.POSITION_CONTROL, targetPosition=angle, force=2.0)<|docstring|>Moves a single specified joint to the target angle.<|endoftext|>
c2e518c5a2e826c104b992245ef72f8112df559cf73c1287f14c1de50fccef59
def init_step_data(t1: Optional[float]=None, t2: Optional[float]=None, t3: Optional[float]=None) -> Dict[(str, Any)]: 'Initializes the data dictionary to use for step updates.' data: Dict[(str, Any)] = dict(min_max={'hip': (math.radians((- 45.0)), math.radians(45.0)), 'femur': (math.radians((- 90.0)), math.radi...
Initializes the data dictionary to use for step updates.
simulation/run.py
init_step_data
douglasdaly/squad-robot
0
python
def init_step_data(t1: Optional[float]=None, t2: Optional[float]=None, t3: Optional[float]=None) -> Dict[(str, Any)]: data: Dict[(str, Any)] = dict(min_max={'hip': (math.radians((- 45.0)), math.radians(45.0)), 'femur': (math.radians((- 90.0)), math.radians(90.0)), 'leg': (math.radians((- 55.0)), math.radians(3...
def init_step_data(t1: Optional[float]=None, t2: Optional[float]=None, t3: Optional[float]=None) -> Dict[(str, Any)]: data: Dict[(str, Any)] = dict(min_max={'hip': (math.radians((- 45.0)), math.radians(45.0)), 'femur': (math.radians((- 90.0)), math.radians(90.0)), 'leg': (math.radians((- 55.0)), math.radians(3...
3ac0c4c85578ef8235227fd74ebf5ebc219219aa72bd18547697904e03b9ab62
def step_update(obj_id: int, joint_ids: Dict[(str, int)], data: Dict[(str, Any)]) -> Dict[(str, Any)]: 'Update function for each simulation step.' for (j_n, j_i) in joint_ids.items(): j_s = j_n.split('_') j_t = j_s[(- 1)] j_p = j_s[0] t_ang = data['angles'][j_p][j_t] t_ta...
Update function for each simulation step.
simulation/run.py
step_update
douglasdaly/squad-robot
0
python
def step_update(obj_id: int, joint_ids: Dict[(str, int)], data: Dict[(str, Any)]) -> Dict[(str, Any)]: for (j_n, j_i) in joint_ids.items(): j_s = j_n.split('_') j_t = j_s[(- 1)] j_p = j_s[0] t_ang = data['angles'][j_p][j_t] t_tang = data['ang_tgts'].get(j_t) t_in...
def step_update(obj_id: int, joint_ids: Dict[(str, int)], data: Dict[(str, Any)]) -> Dict[(str, Any)]: for (j_n, j_i) in joint_ids.items(): j_s = j_n.split('_') j_t = j_s[(- 1)] j_p = j_s[0] t_ang = data['angles'][j_p][j_t] t_tang = data['ang_tgts'].get(j_t) t_in...
9e84894062d80736d3bc7f3f50d805ed2e2289710ce7fa26f4cd17af0a2a5346
def allan_variance(x, dt=1, min_cluster_size=1, min_cluster_count='auto', n_clusters=100, input_type='increment'): "Compute Allan variance (AVAR).\n\n Consider an underlying measurement y(t). Our sensors output integrals of\n y(t) over successive time intervals of length dt. These measurements\n x(k * dt) ...
Compute Allan variance (AVAR). Consider an underlying measurement y(t). Our sensors output integrals of y(t) over successive time intervals of length dt. These measurements x(k * dt) form the input to this function. Allan variance is defined for different averaging times tau = m * dt as follows:: AVAR(tau) = 1/2...
T_IMU_CAM/Allan_Variance/VA_python/allan_variance.py
allan_variance
Mcthomas777/SENS-RPyi
1
python
def allan_variance(x, dt=1, min_cluster_size=1, min_cluster_count='auto', n_clusters=100, input_type='increment'): "Compute Allan variance (AVAR).\n\n Consider an underlying measurement y(t). Our sensors output integrals of\n y(t) over successive time intervals of length dt. These measurements\n x(k * dt) ...
def allan_variance(x, dt=1, min_cluster_size=1, min_cluster_count='auto', n_clusters=100, input_type='increment'): "Compute Allan variance (AVAR).\n\n Consider an underlying measurement y(t). Our sensors output integrals of\n y(t) over successive time intervals of length dt. These measurements\n x(k * dt) ...
595fab85d0cac3893247f8984e44306fa5b18da75b1e059eebf7c952bc717cfe
def params_from_avar(tau, avar, output_type='array'): "Estimate noise parameters from Allan variance.\n\n The parameters being estimated are typical for inertial sensors:\n quantization noise, additive white noise, flicker noise (long term bias\n instability), random walk and linear ramp (this is a determi...
Estimate noise parameters from Allan variance. The parameters being estimated are typical for inertial sensors: quantization noise, additive white noise, flicker noise (long term bias instability), random walk and linear ramp (this is a deterministic effect). The parameters are estimated using linear least squares wi...
T_IMU_CAM/Allan_Variance/VA_python/allan_variance.py
params_from_avar
Mcthomas777/SENS-RPyi
1
python
def params_from_avar(tau, avar, output_type='array'): "Estimate noise parameters from Allan variance.\n\n The parameters being estimated are typical for inertial sensors:\n quantization noise, additive white noise, flicker noise (long term bias\n instability), random walk and linear ramp (this is a determi...
def params_from_avar(tau, avar, output_type='array'): "Estimate noise parameters from Allan variance.\n\n The parameters being estimated are typical for inertial sensors:\n quantization noise, additive white noise, flicker noise (long term bias\n instability), random walk and linear ramp (this is a determi...
0007aebb0f1cd5052bba0295de6cfa3536b8b1f2b0d39da37b94f6628a45905e
def get_1stpage(self): '打印首页用来测试选择器,获取页码数,所以直接使用selenium包手写元素获取代码' html = self.get_html() soup = BeautifulSoup(html, 'lxml') tags = soup.find_all(name='img', attrs={'referrerpolicy': 'no-referrer'}) for tag in tags: print(tag) url = tag.get('src') print(url) '\n <i...
打印首页用来测试选择器,获取页码数,所以直接使用selenium包手写元素获取代码
spider_jiandanbugs.py
get_1stpage
Sablier/spiderboy
0
python
def get_1stpage(self): html = self.get_html() soup = BeautifulSoup(html, 'lxml') tags = soup.find_all(name='img', attrs={'referrerpolicy': 'no-referrer'}) for tag in tags: print(tag) url = tag.get('src') print(url) '\n <img referrerpolicy="no-referrer" src="//ws4....
def get_1stpage(self): html = self.get_html() soup = BeautifulSoup(html, 'lxml') tags = soup.find_all(name='img', attrs={'referrerpolicy': 'no-referrer'}) for tag in tags: print(tag) url = tag.get('src') print(url) '\n <img referrerpolicy="no-referrer" src="//ws4....
69480e10e0a92f1581a6be185ba2906b44d462aa83a404b072c16ea8be1595d5
def BasicVSR(clip: vs.VideoNode, model: int=0, radius: int=7, tile_x: int=0, tile_y: int=0, tile_pad: int=10, device_type: str='cuda', device_index: int=0, fp16: bool=False) -> vs.VideoNode: "\n BasicVSR: The Search for Essential Components in Video Super-Resolution and Beyond\n\n Currently only x4 is support...
BasicVSR: The Search for Essential Components in Video Super-Resolution and Beyond Currently only x4 is supported. Parameters: clip: Clip to process. Only planar format with float sample type of 32 bit depth is supported. model: Model to use. 0 = REDS 1 = Vimeo-90K (BI) 2 = Vimeo-90K ...
vsbasicvsr/__init__.py
BasicVSR
HolyWu/vs-basicvsr
8
python
def BasicVSR(clip: vs.VideoNode, model: int=0, radius: int=7, tile_x: int=0, tile_y: int=0, tile_pad: int=10, device_type: str='cuda', device_index: int=0, fp16: bool=False) -> vs.VideoNode: "\n BasicVSR: The Search for Essential Components in Video Super-Resolution and Beyond\n\n Currently only x4 is support...
def BasicVSR(clip: vs.VideoNode, model: int=0, radius: int=7, tile_x: int=0, tile_y: int=0, tile_pad: int=10, device_type: str='cuda', device_index: int=0, fp16: bool=False) -> vs.VideoNode: "\n BasicVSR: The Search for Essential Components in Video Super-Resolution and Beyond\n\n Currently only x4 is support...
6f8a087c7df2f3d50ab90767e249aa53869c781fdb1077045eace7ae3d0cc45a
@property def headers(self): ' Return the authorization token for Domain. ' if (self._api_throttle_rate > 0): while ((len(self._api_call_times) > self._api_throttle_rate) and ((time() - self._api_call_times[(- self._api_throttle_rate)]) < 1)): self._api_call_times.popleft() sleep...
Return the authorization token for Domain.
lab4FinalFLCD/venv/Lib/site-packages/domain/authorisation/token.py
headers
raduceaca1234/Formal-Languages-and-Compiler-Design
0
python
@property def headers(self): ' ' if (self._api_throttle_rate > 0): while ((len(self._api_call_times) > self._api_throttle_rate) and ((time() - self._api_call_times[(- self._api_throttle_rate)]) < 1)): self._api_call_times.popleft() sleep(1) self._api_call_times.append(time()...
@property def headers(self): ' ' if (self._api_throttle_rate > 0): while ((len(self._api_call_times) > self._api_throttle_rate) and ((time() - self._api_call_times[(- self._api_throttle_rate)]) < 1)): self._api_call_times.popleft() sleep(1) self._api_call_times.append(time()...
20d72741796ac4a8ce21dbd02561edebc98d04fb49d5da9d06d584a08c6ee3c2
def __init__(self, replicas=None, environment=None, connections=None, volumes=None, init=None, sidecars=None, container=None, local_vars_configuration=None): 'V1KFReplica - a model defined in OpenAPI' if (local_vars_configuration is None): local_vars_configuration = Configuration.get_default_copy() ...
V1KFReplica - a model defined in OpenAPI
python/http_client/v1/polyaxon_sdk/models/v1_kf_replica.py
__init__
polyaxon/polyaxon-client
13
python
def __init__(self, replicas=None, environment=None, connections=None, volumes=None, init=None, sidecars=None, container=None, local_vars_configuration=None): if (local_vars_configuration is None): local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars...
def __init__(self, replicas=None, environment=None, connections=None, volumes=None, init=None, sidecars=None, container=None, local_vars_configuration=None): if (local_vars_configuration is None): local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars...
dffe094505379081607134624961ae5403e97aa25d01e55248bb1c817e80c1e2
@property def replicas(self): 'Gets the replicas of this V1KFReplica. # noqa: E501\n\n\n :return: The replicas of this V1KFReplica. # noqa: E501\n :rtype: int\n ' return self._replicas
Gets the replicas of this V1KFReplica. # noqa: E501 :return: The replicas of this V1KFReplica. # noqa: E501 :rtype: int
python/http_client/v1/polyaxon_sdk/models/v1_kf_replica.py
replicas
polyaxon/polyaxon-client
13
python
@property def replicas(self): 'Gets the replicas of this V1KFReplica. # noqa: E501\n\n\n :return: The replicas of this V1KFReplica. # noqa: E501\n :rtype: int\n ' return self._replicas
@property def replicas(self): 'Gets the replicas of this V1KFReplica. # noqa: E501\n\n\n :return: The replicas of this V1KFReplica. # noqa: E501\n :rtype: int\n ' return self._replicas<|docstring|>Gets the replicas of this V1KFReplica. # noqa: E501 :return: The replicas of this V1KFRep...
b1977e5e2e6528d56284e2497681cffaa2e8defb4f5600c8156eaefd2f805c4a
@replicas.setter def replicas(self, replicas): 'Sets the replicas of this V1KFReplica.\n\n\n :param replicas: The replicas of this V1KFReplica. # noqa: E501\n :type replicas: int\n ' self._replicas = replicas
Sets the replicas of this V1KFReplica. :param replicas: The replicas of this V1KFReplica. # noqa: E501 :type replicas: int
python/http_client/v1/polyaxon_sdk/models/v1_kf_replica.py
replicas
polyaxon/polyaxon-client
13
python
@replicas.setter def replicas(self, replicas): 'Sets the replicas of this V1KFReplica.\n\n\n :param replicas: The replicas of this V1KFReplica. # noqa: E501\n :type replicas: int\n ' self._replicas = replicas
@replicas.setter def replicas(self, replicas): 'Sets the replicas of this V1KFReplica.\n\n\n :param replicas: The replicas of this V1KFReplica. # noqa: E501\n :type replicas: int\n ' self._replicas = replicas<|docstring|>Sets the replicas of this V1KFReplica. :param replicas: The replica...
44d6ab3ec2b57804dec7186a366de50c3392ed3eb4f5e852d78c1152a26d48a4
@property def environment(self): 'Gets the environment of this V1KFReplica. # noqa: E501\n\n\n :return: The environment of this V1KFReplica. # noqa: E501\n :rtype: V1Environment\n ' return self._environment
Gets the environment of this V1KFReplica. # noqa: E501 :return: The environment of this V1KFReplica. # noqa: E501 :rtype: V1Environment
python/http_client/v1/polyaxon_sdk/models/v1_kf_replica.py
environment
polyaxon/polyaxon-client
13
python
@property def environment(self): 'Gets the environment of this V1KFReplica. # noqa: E501\n\n\n :return: The environment of this V1KFReplica. # noqa: E501\n :rtype: V1Environment\n ' return self._environment
@property def environment(self): 'Gets the environment of this V1KFReplica. # noqa: E501\n\n\n :return: The environment of this V1KFReplica. # noqa: E501\n :rtype: V1Environment\n ' return self._environment<|docstring|>Gets the environment of this V1KFReplica. # noqa: E501 :return: The...