seed
stringlengths
1
14k
source
stringclasses
2 values
namespace SaaSPro.Services.Implementations { public class EmailTemplatesService : IEmailTemplatesService { private readonly IUnitOfWork _unitOfWork; private readonly IEmailTemplatesRepository _emailTemplatesRepository; public EmailTemplatesService(IUnitOfWork unitOfWork, IEmailTemplatesRepository emailTemplatesRepository) {
ise-uiuc/Magicoder-OSS-Instruct-75K
public void testValidLogin()
ise-uiuc/Magicoder-OSS-Instruct-75K
Objects.requireNonNull(Bukkit.getPluginCommand("bots")).setExecutor(new BotsCommand()); Bukkit.getPluginManager().registerEvents(this, this); } @EventHandler public void join(PlayerJoinEvent event) { final Player player = event.getPlayer(); Active.getInstance().botPlayersSet.forEach(bot -> {
ise-uiuc/Magicoder-OSS-Instruct-75K
import de.ipvs.as.mbp.service.event_handler.ICreateEventHandler; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * Creation event handler for component entities. */
ise-uiuc/Magicoder-OSS-Instruct-75K
log(args: string[]): void; error(args: string[]): void;
ise-uiuc/Magicoder-OSS-Instruct-75K
current_app.static_floder = 'static' ctx.pop() app.run
ise-uiuc/Magicoder-OSS-Instruct-75K
name = 'predict'
ise-uiuc/Magicoder-OSS-Instruct-75K
) UITableView.appearance().backgroundColor = UIColor(Color("ColorBackground")) } var body: some View { ZStack {
ise-uiuc/Magicoder-OSS-Instruct-75K
/** * Set poidtotal * * @param string $poidtotal *
ise-uiuc/Magicoder-OSS-Instruct-75K
assert not u.in_same_set(1, 4) u.union(5, 1) assert u.in_same_set(3, 5) def test_unionfind_several(): """
ise-uiuc/Magicoder-OSS-Instruct-75K
* * @param root TreeNode类 * @return int整型vector */ vector<int> inorderTraversal(TreeNode* root) { // write code here TreeNode* head = root; vector<int> v; stack<TreeNode*> s; if(head == NULL)
ise-uiuc/Magicoder-OSS-Instruct-75K
sig="-TERM" while [ $# -gt 0 ]; do case "$1" in -s|--signal) [ $# -lt 2 ] && see_usage "the --signal argument requires a value."
ise-uiuc/Magicoder-OSS-Instruct-75K
while current is not None: # keep the next n-1 unchanged previous = self.get_node(current, n - 1) # every time when get_node is called, we need to check if the returned result is None before proceeding next step if previous is not None: # delete the next n by changing the pointer of previous to the next n node current = self.get_node(previous.link, n) previous.link = current else: # if the previous is None, means the next n-1 (at most) is unchanged, so current = None to stop loop current = None
ise-uiuc/Magicoder-OSS-Instruct-75K
else: predicted_labels.extend(torch.argmax(logits, dim=1).cpu().detach().numpy()) target_labels.extend(torch.argmax(label_ids, dim=1).cpu().detach().numpy()) loss = F.cross_entropy(logits, torch.argmax(label_ids, dim=1)) average, average_mac = 'binary', 'binary' if self.args.n_gpu > 1: loss = loss.mean() if self.args.gradient_accumulation_steps > 1:
ise-uiuc/Magicoder-OSS-Instruct-75K
aucj_mean = np.mean([x[0] for x in metric_list]) aucs_mean = np.mean([x[1] for x in metric_list]) nss_mean = np.mean([x[2] for x in metric_list]) cc_mean = np.mean([x[3] for x in metric_list]) sim_mean = np.mean([x[4] for x in metric_list]) print("For video number {} the metrics are:".format(i)) print("AUC-JUDD is {}".format(aucj_mean))
ise-uiuc/Magicoder-OSS-Instruct-75K
echo "Cleanup Cancelled";
ise-uiuc/Magicoder-OSS-Instruct-75K
public abstract class CifRecordBase { public virtual bool IsParent { get; } public virtual string RecordIdentifier { get; } public virtual IEnumerable<FieldInfo> Fields { get; } } }
ise-uiuc/Magicoder-OSS-Instruct-75K
v [ midi sender ] ---------- | communicate to | | midi external | """
ise-uiuc/Magicoder-OSS-Instruct-75K
golds = np.array([1, 0, 1, 0, 1, 0]) probs = np.array([0.8, 0.6, 0.9, 0.7, 0.7, 0.2]) metric_dict = spearman_correlation_scorer(golds, probs, None) assert isequal(metric_dict, {"spearman_correlation": 0.7921180343813395})
ise-uiuc/Magicoder-OSS-Instruct-75K
LIFETIME = getattr(settings, 'DJANGOLG_LIFETIME', 300) # Maximum number of requests with the same key # Set to 0 for unlimited MAX_REQUESTS = getattr(settings, 'DJANGOLG_MAX_REQUESTS', 20) # Link to Acceptable Use Policy AUP_LINK = getattr(settings, 'DJANGOLG_AUP_LINK', None) # Google reCapture settings RECAPTCHA_ON = getattr(settings, 'DJANGOLG_RECAPTCHA_ON', False)
ise-uiuc/Magicoder-OSS-Instruct-75K
""" b, n, d = x.shape x = x.reshape(b*n, d) return x
ise-uiuc/Magicoder-OSS-Instruct-75K
apt-get update yes | apt-get install libsndfile1
ise-uiuc/Magicoder-OSS-Instruct-75K
EOF sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
ise-uiuc/Magicoder-OSS-Instruct-75K
try: i_Jpi = Jpi_list.index([J,pi]) except: continue rho_ExJpi[i_Ex,i_Jpi] += 1
ise-uiuc/Magicoder-OSS-Instruct-75K
getattr(instance, attr) for attr in self.attrs ) def __set__(self, instance, value): # ignore pass
ise-uiuc/Magicoder-OSS-Instruct-75K
#### Get keys Keys = get_api_keys() #### Access Twitter API using Tweepy & key dictionary definitions client = tweepy.Client( Keys['Bearer Token'] ) auth = tweepy.OAuth2AppHandler( Keys['Consumer Key (API Key)'], Keys['Consumer Secret (API Secret)'] ) api = tweepy.API(auth) #### Fetch the user id's of those listed in the exceptions list def get_exceptions_list(): listed = [] protect_list = []
ise-uiuc/Magicoder-OSS-Instruct-75K
1.00000000,
ise-uiuc/Magicoder-OSS-Instruct-75K
public class OrderResponseCustomer {
ise-uiuc/Magicoder-OSS-Instruct-75K
</div> </div> @stop
ise-uiuc/Magicoder-OSS-Instruct-75K
// Whenever the HMR indicates the source has changed, // a new application is created and swapped with the current one. if (module.hot) { module.hot.accept("./components/App", () => { console.log("hot module reload"); const NextApp = require<{ App: typeof App }>("./components/App").App; ReactDOM.render(createApp(NextApp), appElement); }); }
ise-uiuc/Magicoder-OSS-Instruct-75K
file:/*) CFG_URL=$1 CFG_INDEX=$2 ;; /*) CFG_URL=$1 CFG_INDEX=$2
ise-uiuc/Magicoder-OSS-Instruct-75K
var userCacheAccess = app.UserTokenCache.RecordAccess();
ise-uiuc/Magicoder-OSS-Instruct-75K
python3 ao.py $1
ise-uiuc/Magicoder-OSS-Instruct-75K
completionHandler(.success(data)) case .failure(let error): completionHandler(.failure(error)) } } } }
ise-uiuc/Magicoder-OSS-Instruct-75K
string x,y; ll k;
ise-uiuc/Magicoder-OSS-Instruct-75K
import clr clr.AddReference('RevitAPI') clr.AddReference('RevitAPIUI') from Autodesk.Revit.DB import * doc = __revit__.ActiveUIDocument.Document # collect file location from user clr.AddReference('System.Windows.Forms') from System.Windows.Forms import DialogResult, SaveFileDialog dialog = SaveFileDialog() dialog.Title = 'Export current view as PNG' dialog.Filter = 'PNG files (*.PNG)|*.PNG' if dialog.ShowDialog() == DialogResult.OK:
ise-uiuc/Magicoder-OSS-Instruct-75K
# In[3]: from sklearn import svm, datasets from sklearn.model_selection import train_test_split import numpy as np import pandas as pd url = "C:/Users/USUARIO/Desktop/Tesis/centroides-Apriori4.csv" datos = pd.read_csv(url, sep=",")
ise-uiuc/Magicoder-OSS-Instruct-75K
/// <summary> /// The minimum delay between two consecutive retry attempts, in case data ingestion /// fails. If not specified, the service's behavior depends on the data feed's granularity. /// </summary> public TimeSpan? IngestionRetryDelay { get; set; } /// <summary>
ise-uiuc/Magicoder-OSS-Instruct-75K
self._task = self._get_class_by_name(self._task_name, tasks)(self._pyrep, self._robot) self._scene.load(self._task) self._pyrep.start() def finalize(self): with suppress_std_out_and_err(): self._pyrep.shutdown() self._pyrep = None def reset(self, random: bool = True) -> StepDict: logging.info('Resetting task: %s' % self._task.get_name())
ise-uiuc/Magicoder-OSS-Instruct-75K
return transform @staticmethod def transform_from_quaternion(quater: torch.Tensor): qw = quater[..., 0] qx = quater[..., 1] qy = quater[..., 2]
ise-uiuc/Magicoder-OSS-Instruct-75K
public class ActivityLogsEnricher : ILogEventEnricher { private readonly string traceIdKey; private readonly string spanIdKey; private readonly bool useDatadogFormat; public ActivityLogsEnricher(string traceIdKey, string spanIdKey, bool useDatadogFormat) { this.spanIdKey = spanIdKey; this.useDatadogFormat = useDatadogFormat;
ise-uiuc/Magicoder-OSS-Instruct-75K
import cn from 'classnames' import { LoadingDots } from '../../vercel-ui' import Plus from '../../icons/Plus' import VercelLogo from '../../icons/VercelLogo' import OrderCloudLogo from '../../icons/OrderCloudLogo'
ise-uiuc/Magicoder-OSS-Instruct-75K
/** * Guest was PM suspended to memory. */ MEMORY, /**
ise-uiuc/Magicoder-OSS-Instruct-75K
#[test] fn test_parse_execute_with_capture() { let input = r#"exec "ls home" >> "output.txt""#.chars().collect::<Vec<_>>(); let r = command_exec().parse(&input); assert_eq!( r, Ok(Action::Execute("ls home".into(), Some("output.txt".into()))) ) } #[test] fn test_parse_app() {
ise-uiuc/Magicoder-OSS-Instruct-75K
# pattoo-snmp constants PATTOO_AGENT_SNMPD = 'pattoo_agent_snmpd' PATTOO_AGENT_SNMP_IFMIBD = 'pattoo_agent_snmp_ifmibd'
ise-uiuc/Magicoder-OSS-Instruct-75K
class SESTest(unittest.TestCase): def test_list_templates(self): client = aws_stack.connect_to_service('ses') client.create_template(Template=TEST_TEMPLATE_ATTRIBUTES) templ_list = client.list_templates()['TemplatesMetadata'] self.assertEqual(1, len(templ_list)) created_template = templ_list[0] self.assertEqual(created_template['Name'], TEST_TEMPLATE_ATTRIBUTES['TemplateName']) self.assertIn(type(created_template['CreatedTimestamp']), (date, datetime)) # Should not fail after 2 consecutive tries
ise-uiuc/Magicoder-OSS-Instruct-75K
import InterceptorManager from './InterceptorManager' interface IInterceptor { request: InterceptorManager<IAxiosRequestConfig>, response: InterceptorManager<IAxiosResponse> } interface IPromiseChain<T> { fulfilled: IFulfilledFn<T> | ((config: IAxiosRequestConfig) => IAxiosPromise),
ise-uiuc/Magicoder-OSS-Instruct-75K
print('Plotting') ax[0].set_title('Original') ax[1].set_title('Normalized') exts = ['fig'] if cmap is not None: exts.append(cmap) ax[0].imshow(img, cmap=cmap) ax[1].imshow(normed, cmap=cmap)
ise-uiuc/Magicoder-OSS-Instruct-75K
# Input: n = 3 # Output: 4 # Explantion: # Below are the four ways # 1 step + 1 step + 1 step # 1 step + 2 step # 2 step + 1 step # 3 step
ise-uiuc/Magicoder-OSS-Instruct-75K
slaves=[items.en], extraConds={ write_execute: rename_signal(self, will_insert_new_item & item_insert_last, "ac_write_en"), items.en: rename_signal(self, (~w_in.vld | will_insert_new_item | ~item_insert_first) & (write_confirm.rd | cam_found), "items_en_en"), w_tmp_out: rename_signal(self, found_in_tmp_reg | (((write_confirm.rd & current_empty) | cam_found) & item_insert_last), "w_tmp_out_en")
ise-uiuc/Magicoder-OSS-Instruct-75K
cp m_autoban.c ../unrealircd-5.0.8/src/modules/third cd ../unrealircd-5.0.8/ make cp src/modules/third/m_autoban.so ../unrealircd/modules/third/
ise-uiuc/Magicoder-OSS-Instruct-75K
from urllib.request import urlopen
ise-uiuc/Magicoder-OSS-Instruct-75K
width: Math.max(document.documentElement.clientWidth, window.innerWidth || 0), height: Math.max(document.documentElement.clientHeight, window.innerHeight || 0) };` )) as { width: number, height: number }; if (calculatedViewportSize.width > 0 && calculatedViewportSize.height > 0) { return calculatedViewportSize; } // Chrome headless hard-codes window.innerWidth and window.innerHeight to 0 return promised(browser.manage().window().getSize()); });
ise-uiuc/Magicoder-OSS-Instruct-75K
public enum RoleName { USER, ADMIN }
ise-uiuc/Magicoder-OSS-Instruct-75K
sys.path.extend(["."]) from torch_model_demo.task.run_task import train_fashion_demo if __name__ == '__main__': train_fashion_demo()
ise-uiuc/Magicoder-OSS-Instruct-75K
@else
ise-uiuc/Magicoder-OSS-Instruct-75K
y_max = y1 * -1 arcing_good_shots = [] for x in range(x_min, x_max): for y in range(y_min, y_max): if shot_good(x, y, x1, x2, y1, y2): arcing_good_shots.append((x, y)) direct_shot_count = (x2 + 1 - x1) * (y2 + 1 - y1)
ise-uiuc/Magicoder-OSS-Instruct-75K
idxfile.save(filename_idx) dataset = LoadIdxDataset(filename_idx) Assert(dataset) field=dataset.getDefaultField() time=dataset.getDefaultTime() Assert(field.valid())
ise-uiuc/Magicoder-OSS-Instruct-75K
connect(this, &PropGenT::ColorChanged, this, [](uintptr_t changer, int r, int g, int b, int a) { qDebug() << "ColorChanged:" << changer << "," << r << "," << g << "," << b << "," << a; }); }
ise-uiuc/Magicoder-OSS-Instruct-75K
def output_handler(response, context): """Post-process TensorFlow Serving output before it is returned to the client. Args: response (obj): the TensorFlow serving response context (Context): an object containing request and configuration details Returns: (bytes, string): data to return to client, response content type """ print("Output handler") if response.status_code != 200: _return_error(response.status_code, response.content.decode('utf-8'))
ise-uiuc/Magicoder-OSS-Instruct-75K
pub headers: HashMap<String, String>, pub content_type: Option<String>, pub content_length: usize, pub header_lenght: usize, pub body: Vec<u8>, pub logger: slog::Logger, pub context: C, } impl<C: Clone + Sync + Send> Request<C> {
ise-uiuc/Magicoder-OSS-Instruct-75K
// 1st run: collect random numbers. for (size_t ii=0; ii<NUM; ++ii) {
ise-uiuc/Magicoder-OSS-Instruct-75K
*/ public class CornishFisherDeltaGammaVaRCalculatorTest { private static final double QUANTILE = new NormalDistribution(0, 1).getCDF(3.); private static final NormalVaRParameters CORNISH_FISHER_PARAMETERS = new NormalVaRParameters(10, 250, QUANTILE); private static final NormalVaRParameters PARAMETERS = new NormalVaRParameters(10, 250, QUANTILE); private static final Function1D<Double, Double> ZERO = new Function1D<Double, Double>() { @Override public Double evaluate(final Double x) { return 0.; } }; private static final Function1D<Double, Double> STD = new Function1D<Double, Double>() {
ise-uiuc/Magicoder-OSS-Instruct-75K
{ return new ApiKey($this->api->tokeninfo($apiKey)->get()); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
className: classNames(TextStyles['c-txt__label'], { [TextStyles['c-txt__label--regular']]: props.regular, [TextStyles['c-txt__label--sm']]: props.small, // RTL [TextStyles['is-rtl']]: isRtl(props) }) }))<IStyledLabel>` ${props => retrieveTheme(COMPONENT_ID, props)}; `;
ise-uiuc/Magicoder-OSS-Instruct-75K
with open('previews/helix_preview.pdf', 'rb') as file: await message.answer_document(file, reply_markup=certificate_keyboard('helix'))
ise-uiuc/Magicoder-OSS-Instruct-75K
public let unit: UnitSystem.Unit } }
ise-uiuc/Magicoder-OSS-Instruct-75K
print M print P2
ise-uiuc/Magicoder-OSS-Instruct-75K
}, }, } as QbFields, }, subPage: { edges: { fields: { node: { fields: { id: {}, node_locale: {},
ise-uiuc/Magicoder-OSS-Instruct-75K
public static int getStatusHeight() { return statusHeight; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
pub name: String, pub password: String, } impl FromRequest for UserLoginData {
ise-uiuc/Magicoder-OSS-Instruct-75K
import org.cryptimeleon.math.hash.UniqueByteRepresentable;
ise-uiuc/Magicoder-OSS-Instruct-75K
echo "Usage: $0 [noe]" } while [ "$1" != "" ]; do case $1 in -d | --disk ) shift disk=$1 ;; -r | --dir ) shift
ise-uiuc/Magicoder-OSS-Instruct-75K
$ret=$this->save([$model=>$data]); $this->clear(); return $ret[$model]; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
// all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
ise-uiuc/Magicoder-OSS-Instruct-75K
// // |(N1,N2)...> and |(N2,N1)...> // // are still counted separately in the basis. No lexicographical // ordering constraint N1<=N2 on the two single-particle states is // imposed. The basis is therefore redundant. This simplifies // implementation of double contractions over "particle 1" and // "particle 2" indices as matrix multiplication, without the // calling code having to worry about "swapping" single particle // states within the two-body state and applying the relevant phase
ise-uiuc/Magicoder-OSS-Instruct-75K
array( 'ONLY_PAYED' => 'Y'
ise-uiuc/Magicoder-OSS-Instruct-75K
object->set_asset_name(parent_name);
ise-uiuc/Magicoder-OSS-Instruct-75K
assert recommended_currency == 'USD' assert accepted_currencies == PAYPAL_CURRENCIES # Logged-in Russian donor with a Swedish IP address, giving to a creator in France. zarina = self.make_participant('zarina', main_currency='RUB')
ise-uiuc/Magicoder-OSS-Instruct-75K
* Represents a pawn command * * @author cyberpwn * */ public abstract class PhantomCommand implements ICommand { private GList<PhantomCommand> children; private GList<String> nodes; private GList<String> requiredPermissions; private String node;
ise-uiuc/Magicoder-OSS-Instruct-75K
self.fr.update()
ise-uiuc/Magicoder-OSS-Instruct-75K
echo "Running: 'gcloud preview container pods create redis-pod --config-file config/redis-pod.json'"
ise-uiuc/Magicoder-OSS-Instruct-75K
assert_compile_failed): code = """ @public @payable @constant def foo() -> num: return 5 """ assert_compile_failed( lambda: get_contract_with_gas_estimation_for_constants(code), StructureException )
ise-uiuc/Magicoder-OSS-Instruct-75K
@safeUtils.safeThread(timeout=5,queue=appQueue) def _mdata_info_serialise(self, info, user_data, o_cb=None): """ MDataInfo*, [any], [function], [custom ffi lib] MDataInfo* info, void* user_data > callback functions: (*o_cb)(void* user_data, FfiResult* result, uint8_t* encoded, uintptr_t encoded_len) """ @ffi.callback("void(void* ,FfiResult* ,uint8_t* ,uintptr_t)") def _mdata_info_serialise_o_cb(user_data ,result ,encoded ,encoded_len):
ise-uiuc/Magicoder-OSS-Instruct-75K
import org.junit.jupiter.api.Test; class CepValidatorTest { @DisplayName("Should validate if a cep value is valid") @Test public void validateCorrectCep() { CepValidator validator = new CepValidator();
ise-uiuc/Magicoder-OSS-Instruct-75K
import Algorithm.shortestPath.Graph; import org.junit.Test; public class MinGraphDisTest { @Test public void testDijkstra() { Graph instance = new Graph(15); instance.addEdge(1, 5, 5);
ise-uiuc/Magicoder-OSS-Instruct-75K
def __init__(self, *args, **kwargs): self.log = get_logger(__name__)
ise-uiuc/Magicoder-OSS-Instruct-75K
// Render Functions return ( <label className={prefixClass('input', className)}> {label ? <span className={prefixClass('input-label')}>{label}</span> : null} <input {...otherProps} className={prefixClass('input-text')} onChange={onChange} onKeyPress={realOnKeyPress} />
ise-uiuc/Magicoder-OSS-Instruct-75K
def my_print_method(my_parameter): print(my_parameter) my_print_method(string_variable) def my_multiplication_method(number_one, number_two):
ise-uiuc/Magicoder-OSS-Instruct-75K
graphviz ) sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes "${DEPS[@]}" PYTHON_DEPS=( bs4 # Used for dashboard updates jinja2 ) python3 -m pip install "${PYTHON_DEPS[@]}"
ise-uiuc/Magicoder-OSS-Instruct-75K
for idx, data in enumerate(file_data): year, month, day, hour = get_time_members(data) lines[idx].append(year) lines[idx].append(month) lines[idx].append(day)
ise-uiuc/Magicoder-OSS-Instruct-75K
# Because I don't have GPUs.
ise-uiuc/Magicoder-OSS-Instruct-75K
cube_rot_scale,angle_list_t,scale_list_t=rot_scale('ini',cube,None,angle_list,scale_list,imlib, interpolation) list_l, list_s, list_g, f_l, frame_fin, f_g = vip.llsg.llsg(cube_rot_scale, angle_list_t, fwhm, rank=rank,asize=asize, thresh=1,n_segments=n_segments, max_iter=40, random_seed=10, nproc=nproc,full_output=True,verbose=False) res_s=np.array(list_s) residuals_cube_=cube_derotate(res_s[0],-angle_list_t) cube_der=rot_scale('fin',cube,residuals_cube_,angle_list_t,scale_list_t, imlib, interpolation) frame_fin=cube_collapse(cube_der, collapse) return cube_der,frame_fin def _decompose_patch(indices, i_patch,cube_init, n_segments_ann, rank, low_rank_ref,
ise-uiuc/Magicoder-OSS-Instruct-75K
# Set default variable values GAME=MyGame COMPANY=MyCompany # Process CLI values while [[ $# > 1 ]] do key="$1"
ise-uiuc/Magicoder-OSS-Instruct-75K
for let in word: if let.lower() in sett: count += 1 if count == l: ans.append(word) return ans
ise-uiuc/Magicoder-OSS-Instruct-75K
ffmpeg -re -f lavfi -i "movie=filename=channel_01.flv:loop=0, setpts=N/(FRAME_RATE*TB)" -vcodec libx264 \ -preset veryfast -pix_fmt yuv420p -f flv rtmp://10.20.16.87:1935/live/channel_01
ise-uiuc/Magicoder-OSS-Instruct-75K
void startIMU(bool readTrimData) { device.sensorPowerOn();
ise-uiuc/Magicoder-OSS-Instruct-75K
{ public override void ProcessData(string[] dataArray) {
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>mpyrev/lunchegram<filename>core/management/commands/reset_webhooks.py from urllib.parse import urljoin from django.conf import settings from django.core.management.base import BaseCommand from django.urls import reverse from lunchegram import bot class Command(BaseCommand): help = 'Resets Telegram webhooks' def add_arguments(self, parser): parser.add_argument(
ise-uiuc/Magicoder-OSS-Instruct-75K
public $primaryKey = 'id'; public function statuses() { return $this->belongsToMany('App\lead_status'); }
ise-uiuc/Magicoder-OSS-Instruct-75K